bumblebee-status/runtests.sh
Tobi-wan Kenobi 7be8df222d [runtests] Clean up coverage report + add it to runtests.sh
runtests.sh now also reports coverage.
2017-03-04 11:35:25 +01:00

11 lines
279 B
Bash
Executable file

#!/bin/sh
echo "testing with $(python2 -V 2>&1)"
python2 $(which nosetests) --rednose -v --with-coverage --cover-erase tests/
if [ $? == 0 ]; then
echo
echo "testing with $(python3 -V 2>&1)"
python3 $(which nosetests-3) --rednose -v --with-coverage --cover-erase tests/
fi