mapnik/run_tests
2014-12-08 14:52:52 -05:00

26 lines
458 B
Bash
Executable file

#!/bin/bash
failures=0
source ./localize.sh
PYTHON=${PYTHON:-python}
echo "*** Running Next Gen C++ tests..."
./tests/cxx/run
failures=$((failures+$?))
echo
echo "*** Running Old C++ tests..."
./tests/cpp_tests/run
failures=$((failures+$?))
echo
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