diff options
author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-05-31 21:08:03 +0300 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
commit | 08d0f580b2313aaa73eeca14134647336d707bb9 (patch) | |
tree | 954a72da02b5bbfafee38b1a330c01a37e9c7516 | |
parent | 56007f827a37601b249a354ee3bb24745ea78a9b (diff) | |
download | portable-08d0f580b2313aaa73eeca14134647336d707bb9.tar.gz portable-08d0f580b2313aaa73eeca14134647336d707bb9.tar.bz2 portable-08d0f580b2313aaa73eeca14134647336d707bb9.zip |
disable tlstest
tlstest uses socketpair syscall which is not supported by Emscripten
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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}) | |||
801 | add_platform_test(tlslegacytest tlslegacytest) | 801 | add_platform_test(tlslegacytest tlslegacytest) |
802 | 802 | ||
803 | # tlstest | 803 | # tlstest |
804 | if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") | 804 | # Emscripten does not support socketpair syscall. |
805 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | ||
805 | set(TLSTEST_SRC tlstest.c) | 806 | set(TLSTEST_SRC tlstest.c) |
806 | check_function_exists(pipe2 HAVE_PIPE2) | 807 | check_function_exists(pipe2 HAVE_PIPE2) |
807 | if(HAVE_PIPE2) | 808 | if(HAVE_PIPE2) |