[Commits] [wesnoth/wesnoth] 5bd53b: Fix CPP unit tests under SDL2

GitHub noreply at github.com
Fri Sep 25 01:25:03 UTC 2015


  Branch: refs/heads/sdl2
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5bd53b9eaeb353f4d1ace5dd01f0c8e2c8505bc0
      https://github.com/wesnoth/wesnoth/commit/5bd53b9eaeb353f4d1ace5dd01f0c8e2c8505bc0
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M src/video.cpp

  Log Message:
  -----------
  Fix CPP unit tests under SDL2

CPP unit tests are run without a window, causing an assert to fail in
CVideo::flip(). Changing the assert to an if-statement fixes the unit
tests.





More information about the Commits mailing list