[wesnoth-commits] [wesnoth/wesnoth] 7345ca: Improves the WML unit test script's error reporting.

Pentarctagon noreply at github.com
Thu Dec 12 02:14:23 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7345ca7b0f3b61ae669233fd9fd89f6fb2a27fc1
      https://github.com/wesnoth/wesnoth/commit/7345ca7b0f3b61ae669233fd9fd89f6fb2a27fc1
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  Improves the WML unit test script's error reporting.

This commit:
* Adds the new `bt` (batch timeout) option, to limit the maximum time batched unit tests can take.  Otherwise, if for whatever reason they take longer than 10 minutes, travis will error the job due to not receiving any output for too long.
* Writes the test output to files rather than trying to get it from the stderr, and then output's the log from the failed test.  Currently if a test unexpectedly times out, there is nothing printed indicating the error or which test encountered the problem (in case of batched tests).





More information about the Commits mailing list