wesnoth/travis_wml_unit_tests.sh
Chris Beck 987e34a3e3 fixup travis unit tests
- travis runs tests not in verbose mode,
  *but* if there is a failure,
  then it runs in very verbose mode, with strict mode off, to get
  errors reported in the travis log.
- run_wml_tests points out that if you don't run in strict mode,
  some tests may not fail as expected, so the count at the end
  may differ
2014-05-19 19:14:13 -04:00

9 lines
180 B
Bash
Executable File

#!/bin/bash
./run_wml_tests -u
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