7 for f
in $1/*.coma
; do
9 if $pgm $2 $f > /dev
/null
2>&1; then
10 echo "failed! (should have an error)"
25 if ! $pgm $f > /dev
/null
2> bench_error
; then
27 echo "invocation: $pgm $opts $f" |
tee -a bench_errors
28 cat bench_error |
tee -a bench_errors
29 rm -f bench_errors bench_error
38 if ! "$@" > /dev
/null
2> /dev
/null
; then
58 echo "=== Checking bad files (Coma) ==="
59 coma_bad .
/bench
/plugins
/coma
/bad
62 echo "=== Checking good files (Coma) ==="
63 coma_good .
/examples
/coma coma
64 coma_good .
/bench
/plugins
/coma
/good coma
67 echo "=== Checking replay (Coma) ==="
68 replay .
/examples
/coma