File: test.sh

package info (click to toggle)
powerline 2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,884 kB
  • sloc: python: 23,040; sh: 1,783; ansic: 131; makefile: 70; csh: 51
file content (13 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (5)
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