diff options
Diffstat (limited to 'debian/tests/upstream-tests.sh')
-rwxr-xr-x | debian/tests/upstream-tests.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/upstream-tests.sh b/debian/tests/upstream-tests.sh new file mode 100755 index 0000000..aeb1205 --- /dev/null +++ b/debian/tests/upstream-tests.sh @@ -0,0 +1,17 @@ +#!/bin/sh +set -e +set -u + +export LC_ALL=C.UTF-8 +unset http_proxy https_proxy no_proxy + +cp -rv devscripts "$AUTOPKGTEST_TMP" +cp -rv test "$AUTOPKGTEST_TMP" +cp -rv yt_dlp "$AUTOPKGTEST_TMP" + +cd "$AUTOPKGTEST_TMP" + +for python in $(py3versions --supported);do + printf "###\\n### Now testing %s\\n###\\n" "$python" + "$python" -m pytest -k "not download and not websockets" +done |