[Commits] [wesnoth/wesnoth] 851519: enable linger mode to unit test macros ASSERT, RET...

GitHub noreply at github.com
Sat May 10 03:06:22 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 851519cd078142877f9ef716b5eda8b77c4e6131
      https://github.com/wesnoth/wesnoth/commit/851519cd078142877f9ef716b5eda8b77c4e6131
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-09 (Fri, 09 May 2014)

  Changed paths:
    M data/test/macros/wml_unit_test_macros.cfg

  Log Message:
  -----------
  enable linger mode to unit test macros ASSERT, RETURN

I initially had linger mode off in the endlevel tags of these
macros, to make sure they didn't block the end of noninteractive
scenarios.

But it turns out its better to have it on. It doesn't block the
tests when they run noninteractively, and it means that if a test
fails, you can boot it up with --showgui, and then run :inspect
from linger mode to see what happened. If you don't have linger
mode, then even with --showgui the failed test closes out too
quickly.





More information about the Commits mailing list