mapnik/run_tests

27 lines
458 B
Text
Raw Normal View History

2013-11-22 13:46:05 -08:00
#!/bin/bash
failures=0
2013-11-22 12:01:02 -08:00
source ./localize.sh
PYTHON=${PYTHON:-python}
2013-11-22 12:01:02 -08:00
2014-12-08 14:52:52 -05:00
echo "*** Running Next Gen C++ tests..."
./tests/cxx/run
failures=$((failures+$?))
2014-12-08 14:52:52 -05:00
echo
2014-12-08 14:52:52 -05:00
echo "*** Running Old C++ tests..."
2013-11-22 12:01:02 -08:00
./tests/cpp_tests/run
failures=$((failures+$?))
2013-05-24 17:22:28 -07:00
echo
2014-12-08 14:52:52 -05: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