File: upstream-testsuite

package info (click to toggle)
python-yenc 0.4.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 388 kB
  • sloc: python: 572; ansic: 429; sh: 9; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e -u

SOURCE_DIR="$(pwd)"

for py in $(py3versions -r 2>/dev/null); do
	cd "$AUTOPKGTEST_TMP"
	rm -vrf "$AUTOPKGTEST_TMP"/*
	cp -va "$SOURCE_DIR"/test/test.py "$AUTOPKGTEST_TMP"/
	echo "Running testsuite with $py:"
	$py test.py 2>&1
done