File: python3

package info (click to toggle)
python-mpd 3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 448 kB
  • sloc: python: 2,976; makefile: 182; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
exec 2>&1
set -eux
export RUN_SLOW_TESTS=1
install mpd/tests.py "$AUTOPKGTEST_TMP/mpd_test.py"
cd "$AUTOPKGTEST_TMP"

failed=0

for python in $(py3versions -s) python3; do
    "$python" -u -m unittest -v mpd_test || failed=1
done

exit "$failed"