[wesnoth-commits] [wesnoth/wesnoth] 99384b: run_wml_tests: Don't crash if a test crashes

Celtic Minstrel noreply at github.com
Thu Apr 15 04:11:10 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 99384b038c3eebc70595d5f1d052499239d88f80
      https://github.com/wesnoth/wesnoth/commit/99384b038c3eebc70595d5f1d052499239d88f80
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  run_wml_tests: Don't crash if a test crashes


  Commit: 1285060bc480b8568f6312ff2753a0645ebd0187
      https://github.com/wesnoth/wesnoth/commit/1285060bc480b8568f6312ff2753a0645ebd0187
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  run_wml_tests: Ensure the name of a failing test is included in the output

Previously, the runner relied on the name being part of the output log from the Wesnoth process.
This works in most cases because Wesnoth prints a line with the test's name before exiting.
However, if the test timed out, that line would typically be missing, so this makes the runner insert it into the failure message as well to make sure it's present.


Compare: https://github.com/wesnoth/wesnoth/compare/35348ff24642...1285060bc480



More information about the Commits mailing list