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