[compiler-rt] c1ebd2f - [compiler-rt] Disable asan tests on GNU/Hurd (#169209)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 13:55:21 PDT 2026
Author: Samuel Thibault
Date: 2026-03-31T13:55:12-07:00
New Revision: c1ebd2f1c07f1dc51df1c1a56891fe564cbadc19
URL: https://github.com/llvm/llvm-project/commit/c1ebd2f1c07f1dc51df1c1a56891fe564cbadc19
DIFF: https://github.com/llvm/llvm-project/commit/c1ebd2f1c07f1dc51df1c1a56891fe564cbadc19.diff
LOG: [compiler-rt] Disable asan tests on GNU/Hurd (#169209)
Like OpenBSD, asan does not support GNU/Hurd yet.
Added:
Modified:
compiler-rt/test/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index dd99fe327b511..a1cda7f93382f 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -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.
More information about the llvm-commits
mailing list