aboutsummaryrefslogtreecommitdiffstats
path: root/tests/techmap/run-test.sh
blob: 129451e08c2db9e935c886f73af9ee3b4b1a385b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -e
for x in *_runtest.sh; do
	echo "Running $x.."
	if ! bash $x &> ${x%.sh}.log; then
		tail ${x%.sh}.log
		echo ERROR
		exit 1
	fi
done

for d in */; do
    if [ -x $d/run-test.sh ]; then
        cd $d
        bash run-test.sh
        cd ..
    fi
done