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