about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-11-27 21:32:06 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-11-27 21:32:06 +0800
commit82a62de192401157a5eb44cacba16296795b4ee5 (patch)
tree33ceaa441c4baab94104bf926455b083462732bb
parentf58a5060443229e017a04e79cb37d499b6347fe3 (diff)
downloadyoutube-dl-82a62de192401157a5eb44cacba16296795b4ee5.tar.gz
youtube-dl-82a62de192401157a5eb44cacba16296795b4ee5.tar.xz
youtube-dl-82a62de192401157a5eb44cacba16296795b4ee5.zip
[Makefile,devscripts/run_tests.sh] Actually exclude network tests
Closes #14858
-rw-r--r--Makefile11
-rwxr-xr-xdevscripts/run_tests.sh3
2 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 141593efd..0c3936811 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,17 @@ test:
 
 ot: offlinetest
 
+# Keep this list in sync with devscripts/run_tests.sh
 offlinetest: codetest
-	$(PYTHON) -m nose --verbose test --exclude test_download.py --exclude test_age_restriction.py --exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py --exclude test_socks.py
+	$(PYTHON) -m nose --verbose test \
+		--exclude test_age_restriction.py \
+		--exclude test_download.py \
+		--exclude test_iqiyi_sdk_interpreter.py \
+		--exclude test_socks.py \
+		--exclude test_subtitles.py \
+		--exclude test_write_annotations.py \
+		--exclude test_youtube_lists.py \
+		--exclude test_youtube_signature.py
 
 tar: youtube-dl.tar.gz
 
diff --git a/devscripts/run_tests.sh b/devscripts/run_tests.sh
index 6ba26720d..dd37a80f5 100755
--- a/devscripts/run_tests.sh
+++ b/devscripts/run_tests.sh
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-DOWNLOAD_TESTS="age_restriction|download|subtitles|write_annotations|iqiyi_sdk_interpreter|youtube_lists"
+# Keep this list in sync with the `offlinetest` target in Makefile
+DOWNLOAD_TESTS="age_restriction|download|iqiyi_sdk_interpreter|socks|subtitles|write_annotations|youtube_lists|youtube_signature"
 
 test_set=""
 multiprocess_args=""