]>
git.saurik.com Git - bison.git/blob - examples/calc++/test
3 test -z "$VERBOSE" && {
10 # Number of the current test.
13 # Exit status of this script.
16 # run EXPECTED-EXIT-STATUS [PARSER-OPTIONS]
17 # -----------------------------------------
20 # Effective and expected exit status.
25 if test $sta_eff -eq $sta_exp; then
26 printf "$me: PASS: %2d\n" $number
28 printf "$me: FAIL: %2d (expected status: %d, effective: %d\n" \
29 $number $sta_exp $sta_eff
32 number
=`expr $number + 1`