summaryrefslogtreecommitdiffstats
path: root/debian/tests/upstream-tests.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:49:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:49:26 +0000
commit7c94e91d120d1efddd75ddf75e18edf26dcbd022 (patch)
treefc78616a838aa7f27c7bfae33ad1422a583e420e /debian/tests/upstream-tests.sh
parentAdding upstream version 2024.03.10. (diff)
downloadyt-dlp-7c94e91d120d1efddd75ddf75e18edf26dcbd022.tar.xz
yt-dlp-7c94e91d120d1efddd75ddf75e18edf26dcbd022.zip
Adding debian version 2024.03.10-1.debian/2024.03.10-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/upstream-tests.sh')
-rwxr-xr-xdebian/tests/upstream-tests.sh17
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