]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[Makefile,devscripts/run_tests.sh] Actually exclude network tests
authorYen Chi Hsuan <yan12125@gmail.com>
Mon, 27 Nov 2017 13:32:06 +0000 (21:32 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 27 Nov 2017 13:32:06 +0000 (21:32 +0800)
Closes #14858

Makefile
devscripts/run_tests.sh

index 141593efda853e8e2002e6677396022073002291..0c39368118250ea703e77e4eee352f11826eebe9 100644 (file)
--- 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
 
index 6ba26720dcc57929f2bad9550c5a256a3fc09953..dd37a80f5c8cdc37eda95293706fba5d4939a603 100755 (executable)
@@ -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=""