diff options
| author | 2019-11-10 22:14:10 -0500 | |
|---|---|---|
| committer | 2019-11-10 22:14:10 -0500 | |
| commit | 3f168e82fc6b60ff8878a7539ad49aa2336025cc (patch) | |
| tree | 08a09e527edf46f238e816aa316144bd7ef5c246 /scripts/run_tests.sh | |
| parent | 82eae732c8dec3e14cfae90fe34987f9a3aa984d (diff) | |
| parent | 0c73e982fa596da07f23b377621ab894a9e64884 (diff) | |
Update upstream source from tag 'upstream/1.11.1'
Update to upstream version '1.11.1'
with Debian dir f73a42d5b98e3bf9f053d0329cbfe78bf5248d2e
Diffstat (limited to 'scripts/run_tests.sh')
| -rwxr-xr-x | scripts/run_tests.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh deleted file mode 100755 index d8c8a03..0000000 --- a/scripts/run_tests.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - -TESTS_CORE=(config cookies downloader extractor oauth postprocessor text util) -TESTS_RESULTS=(results) - - -# select tests -case "${1:-${GALLERYDL_TESTS:-core}}" in - core) TESTS=( ${TESTS_CORE[@]} );; - results) TESTS=( ${TESTS_RESULTS[@]} );; - *) TESTS=( );; -esac - - -# transform each array element to test_###.py -TESTS=( ${TESTS[@]/#/test_} ) -TESTS=( ${TESTS[@]/%/.py} ) - - -# run 'nosetests' with selected tests -# (or all tests if ${TESTS} is empty) -nosetests --verbose -w "${DIR}/../test" ${TESTS[@]} |
