[wesnoth-commits] [wesnoth/wesnoth] 63bb07: Support running multiple expected-to-pass unit tes...

Steve Cotton noreply at github.com
Fri Nov 22 22:14:56 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 63bb076b971a4724c05659e3c59b23d4cdf7f38c
      https://github.com/wesnoth/wesnoth/commit/63bb076b971a4724c05659e3c59b23d4cdf7f38c
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/game_launcher.cpp
    M src/game_launcher.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Support running multiple expected-to-pass unit tests (#4582)

This allows batching all of the tests that are expected to return status zero,
which is currently 161 tests, and running the batch with a single instance of
Wesnoth.  It doesn't include the changes to the run_wml_tests script to use
this new feature.

Timing on my PC:
* 4 seconds to run a single test on a debug build
* 90 seconds to run the whole batch of 161 on a debug build
* 1.2 seconds to run a single test on a release build
* 31.2 seconds to run the whole batch of 161 on a release build





More information about the Commits mailing list