From 08d0f580b2313aaa73eeca14134647336d707bb9 Mon Sep 17 00:00:00 2001 From: MoustaphaSaad Date: Fri, 31 May 2024 21:08:03 +0300 Subject: disable tlstest tlstest uses socketpair syscall which is not supported by Emscripten --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e0e7404..b475655 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -801,7 +801,8 @@ target_link_libraries(tlslegacytest ${OPENSSL_TEST_LIBS}) add_platform_test(tlslegacytest tlslegacytest) # tlstest -if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") +# Emscripten does not support socketpair syscall. +if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) set(TLSTEST_SRC tlstest.c) check_function_exists(pipe2 HAVE_PIPE2) if(HAVE_PIPE2) -- cgit v1.2.3-55-g6feb