[compiler-rt] Disable asan tests on GNU/Hurd (#169209)

Like OpenBSD, asan does not support GNU/Hurd yet.
This commit is contained in:
Samuel Thibault 2026-03-31 22:55:12 +02:00 committed by GitHub
parent 3ed48bf648
commit c1ebd2f1c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,8 +86,8 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
compiler_rt_test_runtime(ubsan)
compiler_rt_test_runtime(sanitizer_common)
# OpenBSD not supporting asan, cannot run the tests
if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
# GNU/Hurd and OpenBSD not supporting asan, cannot run the tests
if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "GNU" AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
compiler_rt_test_runtime(fuzzer)
# These tests don't need an additional runtime but use asan runtime.