2015-02-02 21:27:14 +01:00
|
|
|
#!/bin/bash
|
2012-12-03 09:07:02 +01:00
|
|
|
|
|
|
|
failures=0
|
|
|
|
|
2015-02-02 21:27:14 +01:00
|
|
|
source ./localize.sh
|
2014-09-03 23:57:27 +02:00
|
|
|
PYTHON=${PYTHON:-python}
|
|
|
|
|
2015-02-02 21:27:14 +01:00
|
|
|
echo "*** Running C++ tests..."
|
|
|
|
./tests/cpp_tests/run
|
|
|
|
failures=$((failures+$?))
|
|
|
|
echo
|
|
|
|
|
2012-12-03 09:07:02 +01:00
|
|
|
echo "*** Running visual tests..."
|
2014-09-03 23:57:27 +02:00
|
|
|
$PYTHON tests/visual_tests/test.py -q
|
2012-12-03 09:07:02 +01:00
|
|
|
failures=$((failures+$?))
|
|
|
|
|
|
|
|
echo "*** Running python tests..."
|
2015-02-02 21:27:14 +01:00
|
|
|
$PYTHON tests/run_tests.py -q
|
2012-12-03 09:07:02 +01:00
|
|
|
failures=$((failures+$?))
|
|
|
|
|
|
|
|
exit $failures
|