File: python3

package info (click to toggle)
python-vdf 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 224 kB
  • sloc: python: 1,396; makefile: 48; sh: 11
file content (15 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
exec 2>&1
set -eux
export RUN_SLOW_TESTS=1
mkdir "$AUTOPKGTEST_TMP/tests/"
install tests/*.py "$AUTOPKGTEST_TMP/tests/"
cd "$AUTOPKGTEST_TMP"

failed=0

for python in $(py3versions -s) python3; do
    "$python" -u -m unittest -v tests/*.py || failed=1
done

exit "$failed"