Compare commits

...

4 Commits

Author SHA1 Message Date
Benjamin Sergeant
067c128474 try on Windows 2019-05-22 09:29:27 -07:00
Benjamin Sergeant
a127d9ef0d activate IXWebSocketMessageQTest on mac only 2019-05-22 09:22:50 -07:00
Benjamin Sergeant
4a845e3cc4 stop server at the end of unittest 2019-05-21 19:53:55 -07:00
Benjamin Sergeant
633afa5bed try to enable IXWebSocketMessageQTest.cpp 2019-05-21 19:45:55 -07:00
2 changed files with 9 additions and 1 deletions

View File

@@ -50,8 +50,14 @@ if (UNIX)
)
endif()
# Some unittest fail for dubious reason on Ubuntu Xenial with TSAN
if (MAC OR WIN32)
list(APPEND SOURCES
IXWebSocketMessageQTest.cpp
)
endif()
# Disable tests for now that are failing or not reliable
# IXWebSocketMessageQTest.cpp (trigger a segfault on Linux)
add_executable(ixwebsocket_unittest ${SOURCES})

View File

@@ -186,6 +186,8 @@ TEST_CASE("Websocket_message_queue", "[websocket_message_q]")
MsgQTestClient testClient;
testClient.run("ws://127.0.0.1:" + std::to_string(port));
REQUIRE(testClient.isSucceeded());
server.stop();
}
}