aboutsummaryrefslogtreecommitdiffstats
path: root/tests/250-symbols/symtab-parser-001.sh
blob: 3a7f14ea4a01d6f768c9d573c6080b54f2e83c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# symtab parser tests

sh_test()
{
	local interpreter="$1"
	local test_dir="$2"
	local test_name="$3"

	cd "$rootdir" || die "Failed to change to rootdir '$rootdir'"

	local test_file="${test_dir}/${test_name}.asc"

	"$interpreter" ./awlsim-symtab -I auto -O asc \
		"$test_file" - >/dev/null ||\
		test_failed "$(basename "$test_file") test failed"
}
bues.ch cgit interface