mapnik/run_tests

27 lines
458 B
Text
Raw Normal View History

2013-11-22 22:46:05 +01:00
#!/bin/bash
failures=0
2013-11-22 21:01:02 +01:00
source ./localize.sh
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
failures=$((failures+$?))
2014-12-08 20:52:52 +01:00
echo
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+$?))
echo "*** Running python tests..."
$PYTHON tests/run_tests.py -q
failures=$((failures+$?))
exit $failures