diff options
| author | Martin BaĆinka <marun1@email.cz> | 2021-04-29 12:09:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 13:09:56 +0300 |
| commit | 799ecab03d2cfec27ab1d2ecebcd4775d52e299c (patch) | |
| tree | 514b9526011ef2183535d30696f29d43fcad3e94 | |
| parent | 19e5ec621e17916e8877b97e62f0cfeac0ab449a (diff) | |
better unittest script (#30)
| -rwxr-xr-x | tests/run_tests | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/run_tests b/tests/run_tests index bca1d68..4b16a6e 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -1,2 +1,10 @@ #!/bin/env bash -for i in $(ls -1 tests_*); do ./$i; done +for i in $(ls -1 tests_*) +do + ./$i; + ret=$?; +if [ $ret -ne 0 ]; +then + exit $ret; +fi +done |
