summaryrefslogtreecommitdiffstats
path: root/debian/tests/upstream-tests.sh
blob: b49606143184a0c4f7ad5c9fd26cdfacca339498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e
set -u

export LC_ALL=C.UTF-8

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"
done