| Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |||||
| 3 | num_fail=0 | ||||
| 4 | |||||
| 5 | for test in check* | ||||
| 6 | do | ||||
| 7 | ./"$test" \ | ||||
| 8 | && echo "PASS: $test" \ | ||||
| 9 | || { | ||||
| 10 | echo "FAIL: $test" | ||||
| 11 | num_fail=$(( ${num_fail} + 1)) | ||||
| 12 | } | ||||
| 13 | |||||
| 14 | done | ||||
| 15 | |||||
| 16 | exit $num_fail | ||||