[libc-commits] [libc] 3756227 - [libc] Skip setjmp tests under sanitizers.
Siva Chandra Reddy via libc-commits
libc-commits at lists.llvm.org
Tue Nov 1 16:14:47 PDT 2022
Author: Siva Chandra Reddy
Date: 2022-11-01T23:13:57Z
New Revision: 3756227ef66b90ea7802d5dcc9230cb6aaa4314e
URL: https://github.com/llvm/llvm-project/commit/3756227ef66b90ea7802d5dcc9230cb6aaa4314e
DIFF: https://github.com/llvm/llvm-project/commit/3756227ef66b90ea7802d5dcc9230cb6aaa4314e.diff
LOG: [libc] Skip setjmp tests under sanitizers.
Added:
Modified:
libc/test/src/setjmp/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/test/src/setjmp/CMakeLists.txt b/libc/test/src/setjmp/CMakeLists.txt
index b8f261d99856..0fbab2525dc4 100644
--- a/libc/test/src/setjmp/CMakeLists.txt
+++ b/libc/test/src/setjmp/CMakeLists.txt
@@ -1,5 +1,10 @@
add_libc_testsuite(libc_setjmp_unittests)
+# Skip setjmp tests under sanitizers
+if(LLVM_USE_SANITIZER)
+ return
+endif()
+
add_libc_unittest(
setjmp_test
SUITE
More information about the libc-commits
mailing list