projects
/
youtube-dl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7f4c1e083c3a1f0033cb45e5f8998958c4642ad5
[youtube-dl]
/
devscripts
/
run_tests.sh
1
#!/bin/bash
2
3
DOWNLOAD_TESTS="age_restriction|download|subtitles|write_annotations|iqiyi_sdk_interpreter"
4
5
test_set=""
6
7
case "$YTDL_TEST_SET" in
8
core)
9
test_set="-I test_($DOWNLOAD_TESTS)\.py"
10
;;
11
download)
12
test_set="-I test_(?!$DOWNLOAD_TESTS).+\.py"
13
;;
14
*)
15
break
16
;;
17
esac
18
19
nosetests test --verbose $test_set