]>
Commit | Line | Data |
---|---|---|
1e2c3f61 S |
1 | #!/bin/bash |
2 | ||
3 | DOWNLOAD_TESTS="age_restriction|download|subtitles|write_annotations|iqiyi_sdk_interpreter" | |
4 | ||
5 | test_set="" | |
8936f68a | 6 | multiprocess_args="" |
1e2c3f61 S |
7 | |
8 | case "$YTDL_TEST_SET" in | |
9 | core) | |
10 | test_set="-I test_($DOWNLOAD_TESTS)\.py" | |
11 | ;; | |
12 | download) | |
13 | test_set="-I test_(?!$DOWNLOAD_TESTS).+\.py" | |
8936f68a | 14 | multiprocess_args="--processes=4 --process-timeout=540" |
1e2c3f61 S |
15 | ;; |
16 | *) | |
17 | break | |
18 | ;; | |
19 | esac | |
20 | ||
8936f68a | 21 | nosetests test --verbose $test_set $multiprocess_args |