sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML
14 stars 1 forks source link

ClientGameController test is tagged as [skip] #109

Open sourencho opened 4 years ago

sourencho commented 4 years ago

This is because the test opens a window and fails when run on travis-ci.

sourencho commented 4 years ago

This test currently (dac4a9575bc8c6f71420ed2380aceece57c43747) segfaults :S

➜  ungroup_game git:(uniq_win) ✗ ./build/tests/ug-test "[ClientGameController]" -s
Filters: [ClientGameController]
Starting client.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ug-test is a Catch v2.9.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
Scenario: ClientGameController runs successfully
      Given: ClientGameController is constructed
       When: is stepped
-------------------------------------------------------------------------------
../tests/client/systems/tests-ClientGameController.cpp:12
...............................................................................

../tests/client/systems/tests-ClientGameController.cpp:12: FAILED:
due to a fatal error condition:
  SIGSEGV - Segmentation violation signal

===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed

[1]    66344 segmentation fault  ./build/tests/ug-test "[ClientGameController]" -s