2016-11-06 14:30:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-12-03 20:45:52 +01:00
|
|
|
test=$(which nosetests)
|
2016-12-03 20:54:57 +01:00
|
|
|
|
2016-12-04 11:09:10 +01:00
|
|
|
echo "testing with $(python2 -V 2>&1)"
|
2016-12-03 20:45:52 +01:00
|
|
|
python2 $test --rednose -v 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)"
|
|
|
|
python3 $test --rednose -v tests/
|
|
|
|
fi
|