aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/all.sh
blob: dc62adf90a6abaabc763986dc0280443ea17d39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set -e

rm -rf tests/tmp
mkdir -p tests/tmp

for filename in tests/*.sh tests/*.c; do
    testcase="$(basename "$filename")"
    case "$testcase" in
        all.sh|run.sh|helpers.sh|helpers.h)
            ;;
        *)
            source tests/run.sh "$testcase"
            ;;
    esac
done

echo "All tests passed."