[Commits] [wesnoth/wesnoth] a67e13: Fix C++ unit tests

GitHub noreply at github.com
Sat Feb 3 10:19:05 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a67e13b4c5c2f8f6565bd792c99af4bfa919aa0d
      https://github.com/wesnoth/wesnoth/commit/a67e13b4c5c2f8f6565bd792c99af4bfa919aa0d
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-02-03 (Sat, 03 Feb 2018)

  Changed paths:
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  Fix C++ unit tests

Regression from commit f2b31ba082e1ff47443120469e06b89318f37284.

The calls to get_fake_display() must not be removed. They are essential to
change the size of the fake screen. Fortunately we have a unit test to
check that constructing GUI2 windows doesn't succeed if the screen is way
too small.


  Commit: f40a4966bcd0c03a63ac06a0bb0c3b5bc88e242f
      https://github.com/wesnoth/wesnoth/commit/f40a4966bcd0c03a63ac06a0bb0c3b5bc88e242f
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-02-03 (Sat, 03 Feb 2018)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis CI: enable C++ unit tests

The tests should be able to run in Docker, and now when they are no longer
failing, we can enable them.


Compare: https://github.com/wesnoth/wesnoth/compare/07054112b050...f40a4966bcd0


More information about the Commits mailing list