diff options
author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-05-31 18:31:22 +0300 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
commit | 66ef92de0e7cf40c712809848006c256f5e372e4 (patch) | |
tree | 2e37c165ffa9dba47bbd819a662abcb919f0adb4 | |
parent | 34f7223fa4a88f4af2eb494f55252a5de3a46534 (diff) | |
download | portable-66ef92de0e7cf40c712809848006c256f5e372e4.tar.gz portable-66ef92de0e7cf40c712809848006c256f5e372e4.tar.bz2 portable-66ef92de0e7cf40c712809848006c256f5e372e4.zip |
disable arc4randomforktest because Emscripten lacks fork support
-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 cd00514..5788805 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -62,7 +62,8 @@ add_platform_test(apitest apitest) | |||
62 | 62 | ||
63 | # arc4randomforktest | 63 | # arc4randomforktest |
64 | # Windows/mingw does not have fork, but Cygwin does. | 64 | # Windows/mingw does not have fork, but Cygwin does. |
65 | if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW"))) | 65 | # Emscripten does not have fork. |
66 | if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW") OR EMSCRIPTEN)) | ||
66 | add_executable(arc4randomforktest arc4randomforktest.c) | 67 | add_executable(arc4randomforktest arc4randomforktest.c) |
67 | target_link_libraries(arc4randomforktest ${OPENSSL_TEST_LIBS}) | 68 | target_link_libraries(arc4randomforktest ${OPENSSL_TEST_LIBS}) |
68 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) | 69 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) |