aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrfl890 <87506407+rfl890@users.noreply.github.com>2024-08-02 20:37:42 +0500
committerGitHub <noreply@github.com>2024-08-02 20:37:42 +0500
commitb1bc704474059c8a36149a63c02749501b9a3cea (patch)
treed90c39adc47c03402d41259663787633f622bb27 /tests
parentbecbdfbfc36dde9cfc2d509918d44cd4f1b207e6 (diff)
parentcd0ae0ef32d308a4704006b4514e2d065ed8df3c (diff)
downloadportable-b1bc704474059c8a36149a63c02749501b9a3cea.tar.gz
portable-b1bc704474059c8a36149a63c02749501b9a3cea.tar.bz2
portable-b1bc704474059c8a36149a63c02749501b9a3cea.zip
Merge branch 'libressl:master' into patch-1
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d81d012..f79f69e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -676,7 +676,7 @@ set_tests_properties(shutdowntest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_D
676# Emscripten does not support socketpair syscall. 676# Emscripten does not support socketpair syscall.
677if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) 677if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN))
678 set(SIGNERTEST_SRC signertest.c) 678 set(SIGNERTEST_SRC signertest.c)
679 check_function_exists(pipe2 HAVE_PIPE2) 679 check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2)
680 if(HAVE_PIPE2) 680 if(HAVE_PIPE2)
681 add_definitions(-DHAVE_PIPE2) 681 add_definitions(-DHAVE_PIPE2)
682 else() 682 else()
@@ -792,7 +792,7 @@ add_platform_test(tlslegacytest tlslegacytest)
792# Emscripten does not support socketpair syscall. 792# Emscripten does not support socketpair syscall.
793if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) 793if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN))
794 set(TLSTEST_SRC tlstest.c) 794 set(TLSTEST_SRC tlstest.c)
795 check_function_exists(pipe2 HAVE_PIPE2) 795 check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2)
796 if(HAVE_PIPE2) 796 if(HAVE_PIPE2)
797 add_definitions(-DHAVE_PIPE2) 797 add_definitions(-DHAVE_PIPE2)
798 else() 798 else()