10 lines
207 B
Text
Executable file
10 lines
207 B
Text
Executable file
# If current pwd is scripts, go 1 up.
|
|
if [ ${PWD##*/} == "scripts" ]; then
|
|
cd ..
|
|
fi
|
|
|
|
if [ "$1" = "coverage" ]; then
|
|
coverage run -m unittest discover tests
|
|
else
|
|
python3 -m unittest discover tests
|
|
fi
|