summaryrefslogtreecommitdiffstats
path: root/tests/250-symbols/symtab-parser-002.sh
blob: 961b6e6578343cb80b69b9199078db609ad5f014 (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}.csv"

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