blob: ce7ab6dffdace1ba51ecbd8e3c6eb2421e5af222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
set -e
rm -rf tests/tmp
mkdir -p tests/tmp
for filename in tests/*.sh; do
testcase_="$(basename "$filename")"
testcase="${testcase_/%.sh/}"
test_file="tests/$testcase.sh"
case "$testcase" in
all|run|test_*)
;;
*)
bash tests/run.sh "$testcase"
;;
esac
done
echo "All tests passed."
|