[wesnoth-commits] [wesnoth/wesnoth] 7359fd: Separate unit test statuses for WML exceptions and...

Steve Cotton noreply at github.com
Sun Dec 22 18:11:50 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7359fddecb8dafdb8bec33660259ec5e2fec4141
      https://github.com/wesnoth/wesnoth/commit/7359fddecb8dafdb8bec33660259ec5e2fec4141
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-12-22 (Sun, 22 Dec 2019)

  Changed paths:
    M data/test/scenarios/filter_this_unit.cfg
    M run_wml_tests
    M src/commandline_options.cpp
    M src/game_launcher.cpp
    M src/game_launcher.hpp
    M wml_test_schedule

  Log Message:
  -----------
  Separate unit test statuses for WML exceptions and strict warnings (#4599)

This is part of working out whether a subset of the "fail" tests could be run
in one Wesnoth instance. To run a test that returns TEST_FAIL_BROKE_STRICT with
any other test would require a mechanism to reset lg::broke_strict()'s flag.

All tests that fail with an {ASSERT} will also set the lg::broke_strict() flag,
the tests with the new status are only those that would pass without the strict
flag.

In the SUF tests, change a test from fail-on-success to breaks-strict, rename
the formula tests and add some comments. The rename is because "fai" is
"Formula AI", an obsolete name for WFL.





More information about the Commits mailing list