bumblebee-status/runtests.sh
Frank Scherrer 872c2047e5
add test for util.which
* and make runtests.sh dash-compatible for debian-like OS
2018-08-28 14:52:17 +02:00

11 lines
260 B
Bash
Executable file

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