IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2010, 8:23:37 AM (16 years ago)
Author:
eugene
Message:

adding addstar, relphot, relastro tests

Location:
branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test/addstar.tests.txt

    r27340 r27352  
    66   * check all fields in the input file against the dvo database
    77
     82) addstar matches:
     9  * ingest fake cmf 2x
     10  * check for
  • branches/eam_branches/largefiles.20100314/Ohana/src/addstar/test/simple.dvo

    r27340 r27352  
     1
     2input tap.dvo
    13
    24# create a populated catdir with a couple of cmf files
     
    104106end
    105107
    106 macro tapOK
    107   if ($0 != 3)
    108     echo "USAGE: tapOK (condition) (message)"
    109     break
    110   end
    111 
    112   if ($1)
    113     echo "ok : $2"
    114     $TAP_LAST = 1
    115   else
    116     echo "not ok : $2"
    117     $TAP_NFAIL ++
    118     $TAP_LAST = 0
    119   end
    120   $TAP_NDONE ++
    121 end
    122 
    123 macro tapPLAN
    124   if ($0 != 2)
    125     echo "USAGE: tapPLAN (Ntests)"
    126     break
    127   end
    128 
    129   $TAP_NTEST = $1
    130   $TAP_NFAIL = 0
    131   $TAP_NDONE = 0
    132 end
    133 
    134 macro tapDONE
    135   if ($0 != 1)
    136     echo "USAGE: tapDONE"
    137     break
    138   end
    139 
    140   if ($TAP_NDONE != $TAP_NTEST)
    141     echo "planned tests ($TAP_NTEST) not equal to done tests ($TAP_NDONE)"
    142   end
    143 
    144   if ($TAP_NFAIL)
    145     echo "failed $TAP_NFAIL of $TAP_NDONE"
    146   end
    147 
    148   if ($TAP_NFAIL == 0)
    149     echo "passed $TAP_NDONE tests"
    150   end
    151 end
    152 
Note: See TracChangeset for help on using the changeset viewer.