aboutsummaryrefslogtreecommitdiff
path: root/test.sh
blob: 6a30344f36b49166e7d3cf6ae30dcb13f07b74c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# Warning: tests should be in the correct order!
# Every testing module assumes that modules it depends on pass their tests.
all_modules=fst

test_module() {
	modules=$@
	for m in modules; do
		./tests/nissy_test $m
	done
}

make test
if [ -n "$@" ]; then
	test_module $@
else
	test_module $all_modules
fi
rm tests/nissy_test

Generated with cgit - Back to sebastiano.tronto.net