File: unittests3

package info (click to toggle)
python-userpath 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 232 kB
  • sloc: python: 770; makefile: 21; sh: 16
file content (17 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -efu

export LC_ALL=C.UTF-8

pythons="$(py3versions -r 2> /dev/null)"

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

cp -a /etc/skel home
export HOME="$AUTOPKGTEST_TMP/home"

for py in $pythons; do
	echo "=== $py ==="
	$py -m pytest tests/ 2>&1
done