summaryrefslogtreecommitdiffstats
path: root/tests/test_python/test.sh
blob: f042237267eb440521b54205af9a78a17c752714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
. tests/shlib/common.sh

enter_suite python final

for file in "$ROOT"/tests/test_python/test_*.py ; do
	test_name="${file##*/test_}"
	if ! "$PYTHON" "$file" --verbose --catch ; then
		fail "${test_name%.py}" F "Failed test(s) from $file"
	fi
done

exit_suite