aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 21:08:03 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commit08d0f580b2313aaa73eeca14134647336d707bb9 (patch)
tree954a72da02b5bbfafee38b1a330c01a37e9c7516 /tests
parent56007f827a37601b249a354ee3bb24745ea78a9b (diff)
downloadportable-08d0f580b2313aaa73eeca14134647336d707bb9.tar.gz
portable-08d0f580b2313aaa73eeca14134647336d707bb9.tar.bz2
portable-08d0f580b2313aaa73eeca14134647336d707bb9.zip
disable tlstest
tlstest uses socketpair syscall which is not supported by Emscripten
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
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})
801add_platform_test(tlslegacytest tlslegacytest) 801add_platform_test(tlslegacytest tlslegacytest)
802 802
803# tlstest 803# tlstest
804if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") 804# Emscripten does not support socketpair syscall.
805if(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)