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 01:16:18 +00:00
${FILE} -q -d .;
failures=$((failures+$?))
done
2013-05-25 00:22:28 +00:00
echo
echo "*** Running python tests..."
$PYTHON tests/run_tests.py -q
failures=$((failures+$?))
exit $failures