diff options
Diffstat (limited to 'tests/all.sh')
| -rw-r--r-- | tests/all.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/all.sh b/tests/all.sh new file mode 100644 index 0000000..70776cf --- /dev/null +++ b/tests/all.sh @@ -0,0 +1,14 @@ +set -e + +rm -rf tests/tmp +mkdir -p tests/tmp +for i in $(seq 1 999); do + testcase=$(printf '%03d' $i) + test_file="tests/$testcase.sh" + if [[ -f "$test_file" ]]; then + bash tests/run.sh "$testcase" + else + echo "All tests passed." + exit + fi +done |
