summaryrefslogtreecommitdiff
path: root/runalltests
blob: 99270c8327e785f8bbbd721b2ad8d545df7b0f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

for testfile in *.test; do
	./$testfile
	ret=$(expr $ret + $?)
done

if [ $ret -gt 0 ]; then
	printf "%d tests failed\n" $ret
fi

exit $ret