IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33280


Ignore:
Timestamp:
Feb 16, 2012, 6:26:01 AM (14 years ago)
Author:
eugene
Message:

add tapSKIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/addstar/test/tap.dvo

    r33179 r33280  
    3131  $TAP_NTEST = $1
    3232  $TAP_NFAIL = 0
     33  $TAP_NSKIP = 0
    3334  $TAP_NDONE = 0
    3435  if (not($?TAP_BREAK)) set TAP_BREAK = 0
     36end
     37
     38macro tapSKIP
     39  if ($0 != 2)
     40    echo "USAGE: tapSKIP (nskip)"
     41    break
     42  end
     43
     44  $TAP_NSKIP ++
     45  $TAP_NDONE ++
    3546end
    3647
     
    4960  end
    5061
    51   if ($TAP_NFAIL == 0)
     62  if ($TAP_NSKIP)
     63    echo "skipped $TAP_NSKIP of $TAP_NDONE"
     64  end
     65
     66  if ($TAP_NFAIL + $TAP_NSKIP == 0)
    5267    echo "passed $TAP_NDONE tests"
    5368  end
Note: See TracChangeset for help on using the changeset viewer.