File: run-unit-test

package info (click to toggle)
python-stubserver 1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 188 kB
  • sloc: python: 574; sh: 8; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 202 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e -u
export LC_ALL=C.UTF-8

cp -va test.py "${AUTOPKGTEST_TMP}"
cd "${AUTOPKGTEST_TMP}"

for py in $(py3versions -s 2>/dev/null); do
	echo "Running testsuite with $py:"
	$py test.py
done