source: trunk/VerifyDuchamp.sh @ 201

Last change on this file since 201 was 170, checked in by Matthew Whiting, 18 years ago

Three changes:

  • Change Duchamp to ./Duchamp in the verification script, to be robust against the current directory not in the user's path
  • add #include <math.h> to param.hh
  • remove repeated -lm -lg2c checks in configure script
  • Property svn:executable set to *
File size: 1.6 KB
RevLine 
[148]1#!/bin/csh
2
[154]3echo " "
[148]4echo "Running the first Duchamp test:"
5echo "  [This is a simple sigma-clipping search]"
6rm -f /tmp/duchamptest
[170]7./Duchamp -p verification/input1 > /tmp/duchamptest
[148]8echo "Done. Comparison to standard result:"
9echo "Differences with Results:"
10diff -I"Results of the Duchamp source finder:" verification/results1.txt verification/stdResults1.txt
[151]11echo "Differences with Log:"
[152]12diff -I"New run of the Duchamp sourcefinder" verification/log1.txt verification/stdLog1.txt
[148]13
[154]14echo " "
[148]15echo "Running the second Duchamp test:"
16echo "  [This uses the FDR method]"
17rm -f /tmp/duchamptest
[170]18./Duchamp -p verification/input2 > /tmp/duchamptest
[148]19echo "Done. Comparison to standard result:"
20echo "Differences with Results:"
21diff -I"Results of the Duchamp source finder:" verification/results2.txt verification/stdResults2.txt
[151]22echo "Differences with Log:"
[152]23diff -I"New run of the Duchamp sourcefinder" verification/log2.txt verification/stdLog2.txt
[148]24
[154]25echo " "
[148]26echo "Running the third Duchamp test:"
27echo "  [This reconstructs the cube, then searches with simple sigma-clipping]"
[154]28echo "  [It should take a bit longer than the first two.]"
[148]29rm -f /tmp/duchamptest
[170]30./Duchamp -p verification/input3 > /tmp/duchamptest
[148]31rm -f /tmp/duchamptest
32echo "Done. Comparison to standard result:"
33echo "Differences with Results:"
34diff -I"Results of the Duchamp source finder:" verification/results3.txt verification/stdResults3.txt
[151]35echo "Differences with Log:"
[152]36diff -I"New run of the Duchamp sourcefinder" verification/log3.txt verification/stdLog3.txt
[148]37
38echo "No differences? Then everything worked as expected\!"
Note: See TracBrowser for help on using the repository browser.