2016-11-06 14:30:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-12-04 11:09:10 +01:00
|
|
|
echo "testing with $(python2 -V 2>&1)"
|
2017-03-04 11:35:25 +01:00
|
|
|
python2 $(which nosetests) --rednose -v --with-coverage --cover-erase tests/
|
2016-12-03 20:54:57 +01:00
|
|
|
|
2016-12-04 11:09:10 +01:00
|
|
|
if [ $? == 0 ]; then
|
|
|
|
echo
|
2016-12-03 20:54:57 +01:00
|
|
|
|
2016-12-04 11:09:10 +01:00
|
|
|
echo "testing with $(python3 -V 2>&1)"
|
2017-03-04 11:35:25 +01:00
|
|
|
python3 $(which nosetests-3) --rednose -v --with-coverage --cover-erase tests/
|
2016-12-04 11:09:10 +01:00
|
|
|
fi
|