File: upstream-tests

package info (click to toggle)
cxxheaderparser 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,028 kB
  • sloc: python: 18,204; makefile: 33; sh: 9
file content (12 lines) | stat: -rw-r--r-- 308 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

SRCDIR="$PWD"
for interpreter in `py3versions --supported 2>/dev/null`
do
	echo "=== Testing with $interpreter ==="
	# Just in case this produces output that needs to be cleaned up
	mkdir "$AUTOPKGTEST_TMP/$interpreter"
	cd "$AUTOPKGTEST_TMP/$interpreter"
	python3 -m pytest "$SRCDIR"
done