projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[devscripts/run_tests] Exclude youtube lists tests from core build
[youtube-dl]
/
devscripts
/
run_tests.sh
diff --git
a/devscripts/run_tests.sh
b/devscripts/run_tests.sh
old mode 100644
(file)
new mode 100755
(executable)
index
7f4c1e0
..
6ba2672
--- a/
devscripts/run_tests.sh
+++ b/
devscripts/run_tests.sh
@@
-1,8
+1,9
@@
#!/bin/bash
#!/bin/bash
-DOWNLOAD_TESTS="age_restriction|download|subtitles|write_annotations|iqiyi_sdk_interpreter"
+DOWNLOAD_TESTS="age_restriction|download|subtitles|write_annotations|iqiyi_sdk_interpreter
|youtube_lists
"
test_set=""
test_set=""
+multiprocess_args=""
case "$YTDL_TEST_SET" in
core)
case "$YTDL_TEST_SET" in
core)
@@
-10,10
+11,11
@@
case "$YTDL_TEST_SET" in
;;
download)
test_set="-I test_(?!$DOWNLOAD_TESTS).+\.py"
;;
download)
test_set="-I test_(?!$DOWNLOAD_TESTS).+\.py"
+ multiprocess_args="--processes=4 --process-timeout=540"
;;
*)
break
;;
esac
;;
*)
break
;;
esac
-nosetests test --verbose $test_set
+nosetests test --verbose $test_set
$multiprocess_args