aboutsummaryrefslogtreecommitdiff
path: root/test.sh
blob: b7882a40ca44c29663b771e62b6ff6012da204ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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
}

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

Generated with cgit - Back to sebastiano.tronto.net