File: unittests

package info (click to toggle)
python-gflanguages 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,332 kB
  • sloc: python: 135; sh: 8; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

pys="$(py3versions --supported 2> /dev/null)"

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

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