diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2018-12-02 15:35:44 +0100 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2018-12-02 15:36:33 +0100 |
commit | 2a6c94abcb38a48f98c1393742a65232edc3c07f (patch) | |
tree | e3be321f2777ca5efe6b263ec31d264f957f2442 /runalltests |
Initial commit
Diffstat (limited to 'runalltests')
-rwxr-xr-x | runalltests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runalltests b/runalltests new file mode 100755 index 0000000..99270c8 --- /dev/null +++ b/runalltests @@ -0,0 +1,12 @@ +#!/bin/sh + +for testfile in *.test; do + ./$testfile + ret=$(expr $ret + $?) +done + +if [ $ret -gt 0 ]; then + printf "%d tests failed\n" $ret +fi + +exit $ret |