File: python2

package info (click to toggle)
python-fabio 0.8.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,116 kB
  • sloc: python: 15,111; ansic: 1,091; sh: 233; makefile: 200
file content (12 lines) | stat: -rwxr-xr-x 203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
TESTPKG=${TESTPKG:-fabio}

cd "$ADTTMP"

for py in $PYS; do
    echo "=== $py ==="
    $py -c "import $TESTPKG; $TESTPKG.tests()" 2>&1
done