]> git.bitcoin.ninja Git - youtube-dl/blob - devscripts/run_tests.sh
[ChangeLog] Actualize
[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