ladybird/Tests/LibTLS/CMakeLists.txt
Andrew Kaster 4c48a51860 Tests: Disable TestTLSHandshake on Windows
This test can't find the default certs on Windows.
2025-07-08 10:27:05 -06:00

15 lines
458 B
CMake

set(TEST_SOURCES
TestTLSCertificateParser.cpp
)
if (NOT WIN32 OR NOT ENABLE_WINDOWS_CI)
# FIXME: This test cannot find the default OpenSSL CA certificates on Windows CI
# https://github.com/LadybirdBrowser/ladybird/issues/5355
list(APPEND TEST_SOURCES
TestTLSHandshake.cpp
)
endif()
foreach(source IN LISTS TEST_SOURCES)
lagom_test("${source}" LibTLS LIBS LibTLS LibCrypto WORKING_DIRECTORY ${Lagom_BINARY_DIR})
endforeach()