2022-05-26 17:06:23 -06:00
|
|
|
#!/usr/bin/env sh
|
2021-07-23 08:48:15 -06:00
|
|
|
|
|
|
|
if [ -z $1 ]; then
|
|
|
|
test_set='test'
|
|
|
|
elif [ $1 = 'core' ]; then
|
2021-10-12 12:54:27 -06:00
|
|
|
test_set="-m not download"
|
2021-07-23 08:48:15 -06:00
|
|
|
elif [ $1 = 'download' ]; then
|
2021-10-12 12:54:27 -06:00
|
|
|
test_set="-m download"
|
2021-07-23 08:48:15 -06:00
|
|
|
else
|
|
|
|
echo 'Invalid test type "'$1'". Use "core" | "download"'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2022-04-17 14:42:48 -06:00
|
|
|
python3 -bb -Werror -m pytest "$test_set"
|