mapnik/run_tests
2015-02-02 12:27:14 -08:00

21 lines
365 B
Bash
Executable file

#!/bin/bash
failures=0
source ./localize.sh
PYTHON=${PYTHON:-python}
echo "*** Running 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