more protection against socket when closing
This commit is contained in:
		| @@ -37,12 +37,12 @@ set (SOURCES | ||||
|   IXWebSocketTestConnectionDisconnection.cpp | ||||
|   IXUrlParserTest.cpp | ||||
|   IXWebSocketServerTest.cpp | ||||
|   IXWebSocketCloseTest.cpp | ||||
| ) | ||||
|  | ||||
| # Some unittest don't work on windows yet | ||||
| if (UNIX) | ||||
|   list(APPEND SOURCES | ||||
|     IXWebSocketCloseTest.cpp | ||||
|     IXDNSLookupTest.cpp | ||||
|     cmd_websocket_chat.cpp | ||||
|   ) | ||||
|   | ||||
| @@ -352,9 +352,12 @@ def run(testName, buildDir, sanitizer, xmlOutput, testRunName, buildOnly, useLLD | ||||
|     # gen build files with CMake | ||||
|     runCMake(sanitizer, buildDir) | ||||
|  | ||||
|     if platform.system() == 'Darwin': | ||||
|     if platform.system() == 'Linux': | ||||
|         # build with make -j | ||||
|         runCommand('make -C {} -j 2'.format(buildDir)) | ||||
|     elif platform.system() == 'Darwin': | ||||
|         # build with make | ||||
|         runCommand('make -C {} -j8'.format(buildDir)) | ||||
|         runCommand('make -C {} -j 8'.format(buildDir)) | ||||
|     else: | ||||
|         # build with cmake on recent | ||||
|         runCommand('cmake --build --parallel {}'.format(buildDir)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user