2012-12-03 09:07:02 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
failures=0
|
|
|
|
|
2014-09-03 23:57:27 +02:00
|
|
|
PYTHON=${PYTHON:-python}
|
|
|
|
|
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 C++ tests..."
|
|
|
|
for FILE in tests/cpp_tests/*-bin; do
|
2013-05-26 03:16:18 +02:00
|
|
|
${FILE} -q -d .;
|
2012-12-03 09:07:02 +01:00
|
|
|
failures=$((failures+$?))
|
|
|
|
done
|
|
|
|
|
2013-05-25 02:22:28 +02:00
|
|
|
echo
|
|
|
|
|
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
|