mapnik/run_tests

24 lines
385 B
Text
Raw Normal View History

#!/bin/sh
failures=0
PYTHON=${PYTHON:-python}
echo "*** Running visual tests..."
$PYTHON tests/visual_tests/test.py -q
failures=$((failures+$?))
echo "*** Running C++ tests..."
for FILE in tests/cpp_tests/*-bin; do
2013-05-26 03:16:18 +02:00
${FILE} -q -d .;
failures=$((failures+$?))
done
2013-05-25 02:22:28 +02:00
echo
echo "*** Running python tests..."
$PYTHON tests/run_tests.py -q
failures=$((failures+$?))
exit $failures