- Timestamp:
- Jun 2, 2015, 8:52:24 AM (11 years ago)
- Location:
- branches/eam_branches/ohana.20150429/src/addstar/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/addstar/test
- Property svn:ignore
-
old new 17 17 relphot.Mcal.dMcal.png 18 18 catdir.wise.test 19 dvo.photcodes 20 ptolemy.rc 21 tap.log
-
- Property svn:mergeinfo set to
- Property svn:ignore
-
branches/eam_branches/ohana.20150429/src/addstar/test/tap.dvo
r34405 r38348 3 3 if (not($?TAP_BREAK)) set TAP_BREAK = 0 4 4 if (not($?TAP_VERBOSE)) set TAP_VERBOSE = 0 5 6 macro tapEXEC 7 if ($0 < 3) 8 echo "USAGE: tapEXEC (command)" 9 break 10 end 11 12 local i cmd result 13 14 $cmd = "" 15 for i 1 $0 16 $cmd = $cmd $$i 17 end 18 19 if ($TAP_VERBOSE >= 2) echo $cmd 20 21 break -auto off 22 exec $cmd >& tap.log 23 $result = $STATUS 24 break -auto on 25 26 if (not($result)) 27 exec cat tap.log 28 echo "not ok : $cmd" 29 $TAP_NFAIL ++ 30 $TAP_LAST = 0 31 if ($TAP_BREAK) 32 break 33 end 34 else 35 if ($TAP_VERBOSE >= 1) echo "ok : $cmd" 36 $TAP_LAST = 1 37 end 38 $TAP_NDONE ++ 39 end 5 40 6 41 macro tapOK … … 11 46 12 47 if ($1) 13 if ($TAP_VERBOSE )48 if ($TAP_VERBOSE >= 1) 14 49 echo "ok : $2" 15 50 end
Note:
See TracChangeset
for help on using the changeset viewer.
