2013-11-22 22:46:05 +01:00
|
|
|
#!/bin/bash
|
2012-12-03 09:07:02 +01:00
|
|
|
|
|
|
|
failures=0
|
|
|
|
|
2013-11-22 21:01:02 +01:00
|
|
|
source ./localize.sh
|
2014-09-03 23:57:27 +02:00
|
|
|
PYTHON=${PYTHON:-python}
|
2013-11-22 21:01:02 +01:00
|
|
|
|
2014-12-08 20:52:52 +01:00
|
|
|
echo "*** Running Next Gen C++ tests..."
|
|
|
|
./tests/cxx/run
|
2012-12-03 09:07:02 +01:00
|
|
|
failures=$((failures+$?))
|
2014-12-08 20:52:52 +01:00
|
|
|
echo
|
2012-12-03 09:07:02 +01:00
|
|
|
|
2014-12-08 20:52:52 +01:00
|
|
|
echo "*** Running Old C++ tests..."
|
2013-11-22 21:01:02 +01:00
|
|
|
./tests/cpp_tests/run
|
|
|
|
failures=$((failures+$?))
|
2013-05-25 02:22:28 +02:00
|
|
|
echo
|
|
|
|
|
2014-12-08 20:52:52 +01:00
|
|
|
echo "*** Running visual tests..."
|
|
|
|
$PYTHON tests/visual_tests/test.py -q
|
|
|
|
failures=$((failures+$?))
|
|
|
|
|
2012-12-03 09:07:02 +01:00
|
|
|
echo "*** Running python tests..."
|
2014-09-03 23:57:27 +02:00
|
|
|
$PYTHON tests/run_tests.py -q
|
2012-12-03 09:07:02 +01:00
|
|
|
failures=$((failures+$?))
|
|
|
|
|
|
|
|
exit $failures
|