File: run-pytest

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

pyver="$(py3versions -s 2> /dev/null)"

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

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