Changeset 27352 for branches/eam_branches/largefiles.20100314/Ohana
- Timestamp:
- Mar 19, 2010, 8:23:37 AM (16 years ago)
- Location:
- branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test
- Files:
-
- 3 added
- 2 edited
-
addstar.tests.txt (modified) (1 diff)
-
relastro.dvo (added)
-
relphot.dvo (added)
-
simple.dvo (modified) (2 diffs)
-
tap.dvo (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test/addstar.tests.txt
r27340 r27352 6 6 * check all fields in the input file against the dvo database 7 7 8 2) addstar matches: 9 * ingest fake cmf 2x 10 * check for -
branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test/simple.dvo
r27340 r27352 1 2 input tap.dvo 1 3 2 4 # create a populated catdir with a couple of cmf files … … 104 106 end 105 107 106 macro tapOK107 if ($0 != 3)108 echo "USAGE: tapOK (condition) (message)"109 break110 end111 112 if ($1)113 echo "ok : $2"114 $TAP_LAST = 1115 else116 echo "not ok : $2"117 $TAP_NFAIL ++118 $TAP_LAST = 0119 end120 $TAP_NDONE ++121 end122 123 macro tapPLAN124 if ($0 != 2)125 echo "USAGE: tapPLAN (Ntests)"126 break127 end128 129 $TAP_NTEST = $1130 $TAP_NFAIL = 0131 $TAP_NDONE = 0132 end133 134 macro tapDONE135 if ($0 != 1)136 echo "USAGE: tapDONE"137 break138 end139 140 if ($TAP_NDONE != $TAP_NTEST)141 echo "planned tests ($TAP_NTEST) not equal to done tests ($TAP_NDONE)"142 end143 144 if ($TAP_NFAIL)145 echo "failed $TAP_NFAIL of $TAP_NDONE"146 end147 148 if ($TAP_NFAIL == 0)149 echo "passed $TAP_NDONE tests"150 end151 end152
Note:
See TracChangeset
for help on using the changeset viewer.
