[libc] Skip setjmp tests under sanitizers.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 1 Nov 2022 23:13:57 +0000 (23:13 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 1 Nov 2022 23:13:57 +0000 (23:13 +0000)
libc/test/src/setjmp/CMakeLists.txt

index b8f261d..0fbab25 100644 (file)
@@ -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