summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
blob: 2b2a3c588ca5f51bbc67ed4485ad56c48ea9c03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"

die()
{
	echo "$*"
	exit 1
}

for awl in $basedir/*.awl; do
	echo "Running test '$(basename "$awl")' ..."
	"$basedir/../awlsimcli" --quiet --onecycle "$awl" ||\
		die "Test failed"
done
bues.ch cgit interface