File: upstream-pytest

package info (click to toggle)
nfoview 2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: python: 1,284; makefile: 114; sh: 94
file content (13 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e -u

# prep
mkdir -p "$AUTOPKGTEST_TMP"/nfoview/test
cp -va nfoview/test/* "$AUTOPKGTEST_TMP"/nfoview/test
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
	# fire in the hole
	HOME=/nonexistent PYTHONPATH=/usr/share/nfoview xvfb-run -a $py -m pytest --tb=no nfoview
done