[tests] Update runtests for Arch Linux compatibility

This commit is contained in:
Tobias Witek 2017-12-29 14:52:07 +01:00
parent bac3d6bc57
commit c7608f4bf2

View file

@ -1,11 +1,11 @@
#!/bin/sh
echo "testing with $(python2 -V 2>&1)"
python2 $(which nosetests) --rednose -v --with-coverage --cover-erase tests/
python2 $(which nosetests) -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/
python3 $(which nosetests) -v --with-coverage --cover-erase tests/
fi