[compiler-rt] 4805acd - [test][sanitizer] Disable test on Darwin

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 11:03:44 PST 2023


Author: Vitaly Buka
Date: 2023-12-13T11:03:32-08:00
New Revision: 4805acd4db42921d94058fbefcf8298f0b8b1845

URL: https://github.com/llvm/llvm-project/commit/4805acd4db42921d94058fbefcf8298f0b8b1845
DIFF: https://github.com/llvm/llvm-project/commit/4805acd4db42921d94058fbefcf8298f0b8b1845.diff

LOG: [test][sanitizer] Disable test on Darwin

Because it does not implemented pthread_barrier_t.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
index b9a0ab3f32558c..eaa1a0482e90d2 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
@@ -2,6 +2,9 @@
 
 // UNSUPPORTED: asan, lsan, hwasan
 
+// The test uses pthread barriers which are not available on Darwin.
+// UNSUPPORTED: darwin
+
 // Forking in multithread environment is unsupported. However we already have
 // some workarounds, and will add more, so this is the test.
 // The test try to check two things:


        


More information about the llvm-commits mailing list