summaryrefslogtreecommitdiff
path: root/test/run-tests.sh
blob: 1b4996c57d59649d4db500efaa976a76d29338c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -eu
THIS="$(readlink -f "$0")"
THISDIR="$(dirname "${THIS}")"

# Run every available test

echo ">> env:"
uname -a

cd "$THISDIR"

bash "./run-testlinter.sh"

for test in ./*test;
do
	echo "::group::$test"
	bash "./$test" || { echo "*** ERROR: Test '$test' failed!"; exit 1; }
	echo "::endgroup::"
done