mapnik/run_tests

22 lines
365 B
Text
Raw Permalink Normal View History

#!/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