mapnik/run_tests
Sandro Santilli f9c2481fab Ensure proper exit code on any test failure. See #1611
Uses a shell script to run the tests.
2012-12-03 09:07:02 +01:00

19 lines
343 B
Bash
Executable file

#!/bin/sh
failures=0
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
${FILE};
failures=$((failures+$?))
done
echo "*** Running python tests..."
python tests/run_tests.py -q
failures=$((failures+$?))
exit $failures