mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 11:23:27 +00:00

- 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
9 lines
180 B
Bash
Executable File
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
|