blob: a5c6df86589c8e209e0d73b7259271add5a7faed (
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|helpers)
;;
*)
source tests/run.sh "$testcase"
;;
esac
done
echo "All tests passed."
|