forked from LBRYCommunity/lbry-sdk
add script to run tests
This commit is contained in:
parent
2c9c0da501
commit
dc57b62157
1 changed files with 12 additions and 0 deletions
12
run_tests.sh
Executable file
12
run_tests.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o xtrace
|
||||||
|
|
||||||
|
if [ -z "$@" ]; then
|
||||||
|
TESTS=tests
|
||||||
|
else
|
||||||
|
TESTS="$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
find -iname "*.pyc" -delete
|
||||||
|
PYTHONPATH=. trial $TESTS
|
Loading…
Add table
Reference in a new issue