From 4d7332c4eea034d53ee2b3749e5462cf33308721 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Mon, 13 Jan 2020 16:44:10 -0800 Subject: [PATCH] activate chat test on Windows --- ixwebsocket/IXSocket.cpp | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ixwebsocket/IXSocket.cpp b/ixwebsocket/IXSocket.cpp index 18d1ccbb..f5cde89c 100644 --- a/ixwebsocket/IXSocket.cpp +++ b/ixwebsocket/IXSocket.cpp @@ -64,7 +64,7 @@ namespace ix fds[0].fd = sockfd; fds[0].events = (readyToRead) ? POLLIN : POLLOUT; - // this is ignored by poll, but our select based poll wrapper on Windows needs it + // this is ignored by poll, but our select based poll wrapper on Windows needs it fds[0].events |= POLLERR; // File descriptor used to interrupt select when needed diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 37549fe0..9c915772 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -55,12 +55,12 @@ set (SOURCES IXDNSLookupTest.cpp IXWebSocketSubProtocolTest.cpp IXSentryClientTest.cpp + IXWebSocketChatTest.cpp ) # Some unittest don't work on windows yet if (UNIX) list(APPEND SOURCES - IXWebSocketChatTest.cpp IXWebSocketCloseTest.cpp ) endif()