File: upstream-testsuite

package info (click to toggle)
python-sabyenc 5.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 39,044 kB
  • sloc: cpp: 12,297; sh: 1,121; python: 652; ansic: 191; makefile: 13
file content (15 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e -u

SOURCE_DIR="$(pwd)"

for py in $(py3versions -s 2>/dev/null); do
	cd "$AUTOPKGTEST_TMP"
	# cleanup
	rm -rf "$AUTOPKGTEST_TMP"/*
	# create a fresh copy of the tests
	cp -a "$SOURCE_DIR"/tests "$AUTOPKGTEST_TMP"/
	echo "Running testsuite with $py:"
	$py -m pytest --verbose --full-trace --ignore=tests/yencfiles/
done