23 lines
382 B
Bash
Executable file
23 lines
382 B
Bash
Executable file
#!/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
|
|
${FILE} -q -d .;
|
|
failures=$((failures+$?))
|
|
done
|
|
|
|
echo
|
|
|
|
echo "*** Running python tests..."
|
|
$PYTHON tests/run_tests.py
|
|
failures=$((failures+$?))
|
|
|
|
exit $failures
|