summaryrefslogtreecommitdiffstats
path: root/debian/tests/upstream-tests.sh
blob: aeb12058349bf1a1d9a05842f79680732976a8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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