aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/all.sh
blob: 70776cf3e397755aa7cd62dbe2e41b0d21183c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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