wesnoth/travis_wml_unit_tests.sh.old
Chris Beck e89d94d5cd travis requires all unit tests to pass. also refactor run_wml_tests.
With the change to --log-strict, it's not necessary to rerun with
strict mode off, so we can get rid of part of the old system.

Feel free to revert this is you don't want travis to require all
unit tests to pass as part of the build.
2014-05-20 16:38:18 -04:00

9 lines
183 B
Bash
Executable File

#!/bin/bash
./run_wml_tests -u -w
if [ "$?" -ne 0 ]; then
echo -e "\n*** \n*"
echo "* Rerunning tests to get error messages.."
echo -e "*\n*** \n"
./run_wml_tests -u -w -s
fi