Changeset 31006
- Timestamp:
- Mar 22, 2011, 4:05:11 PM (15 years ago)
- Location:
- trunk/ippToPsps/unitTests
- Files:
-
- 15 added
- 3 edited
-
README (modified) (1 diff)
-
detectionTest/ippToPsps_inputFileList (modified) (1 diff)
-
detectionTest/run.sh (modified) (1 diff)
-
initTest (added)
-
initTest/00000000.FITS (added)
-
initTest/00000000.FITS.CORRECT (added)
-
initTest/results (added)
-
initTest/results.correct (added)
-
initTest/run.sh (added)
-
runAllTests.sh (added)
-
stackTest (added)
-
stackTest/00000228.FITS (added)
-
stackTest/00000228.FITS.CORRECT (added)
-
stackTest/MD04.V2.skycell.124.stk.228.000.cmf (added)
-
stackTest/ippToPsps_inputFileList (added)
-
stackTest/results (added)
-
stackTest/results.correct (added)
-
stackTest/run.sh (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/unitTests/README
r31005 r31006 1 Unit tests should be run from th isdir, for example, for detections:1 Unit tests should be run from the relavnt dir, for example, for detections: 2 2 3 ./detectionTest/run.s 3 cd detectionTest 4 ./run.sh 5 6 Or, you can run all the tests from this dir with 7 8 ./runAllTests.sh 9 -
trunk/ippToPsps/unitTests/detectionTest/ippToPsps_inputFileList
r31005 r31006 1 ./detectionTest/o5463g0468o.230033.cm.123431.smf1 o5463g0468o.230033.cm.123431.smf -
trunk/ippToPsps/unitTests/detectionTest/run.sh
r31005 r31006 1 rm ./detectionTest/00230033.FITS; ../src/detectionbatch -input ./detectionTest/ippToPsps_inputFileList -output ./detectionTest/ -D CATDIR /data/ipp004.0/gpc1/catdirs/ThreePi.V1 -config ../config -survey 3PI -results ./detectionTest/results -expid 230033 -expname o5463g0468o -test1 rm 00230033.FITS; ../../src/detectionbatch -input ippToPsps_inputFileList -output . -D CATDIR /data/ipp004.0/gpc1/catdirs/ThreePi.V1 -config ../../config -survey 3PI -results results -expid 230033 -expname o5463g0468o -test 2 2 3 3 echo ""; 4 4 echo "*******************************************************************************" 5 5 echo "*" 6 echo "* *** Detection batch unit test ***" 7 echo "*" 6 8 echo "* Diffing new files with 'correct' ones..." 7 9 echo "*" 8 diff ./detectionTest/00230033.FITS.CORRECT ./detectionTest/00230033.FITS -s9 diff ./detectionTest/results.correct ./detectionTest/results -s10 diff 00230033.FITS.CORRECT 00230033.FITS -s 11 diff results.correct results -s 10 12 echo "*" 11 13 echo "* unit test complete"
Note:
See TracChangeset
for help on using the changeset viewer.
