summaryrefslogtreecommitdiff
path: root/tests/run.sh
blob: 5c33f736b93e32e56498aca6a6eeea454957c21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

FAILURE=0

for i in out/*.out; do
	./$i
	if [[ $? -ne 69 ]]; then
		echo "[FAILED] $i"
		FAILURE=1
	else
		echo "[  OK  ] $i"
	fi
done

echo     "=============="
if [[ $FAILURE -ne 0 ]]; then
	echo " TESTS FAILED "
else
	echo " TESTS PASSED "
fi
echo     "=============="