]>
Commit | Line | Data |
---|---|---|
8a82af35 | 1 | #!/usr/bin/env sh |
060ac762 | 2 | |
d2c8aadf | 3 | if [ -z "$1" ]; then |
060ac762 | 4 | test_set='test' |
d2c8aadf | 5 | elif [ "$1" = 'core' ]; then |
a387b69a | 6 | test_set="-m not download" |
d2c8aadf | 7 | elif [ "$1" = 'download' ]; then |
a387b69a | 8 | test_set="-m download" |
060ac762 | 9 | else |
d2c8aadf | 10 | echo 'Invalid test type "'"$1"'". Use "core" | "download"' |
060ac762 | 11 | exit 1 |
12 | fi | |
13 | ||
b6dc37fe | 14 | python3 -bb -Werror -m pytest "$test_set" |