diff --git a/compiler-rt/test/msan/fork.cpp b/compiler-rt/test/msan/fork.cpp index 438766ab4d99c..e39c852b093e8 100644 --- a/compiler-rt/test/msan/fork.cpp +++ b/compiler-rt/test/msan/fork.cpp @@ -15,7 +15,7 @@ // UNSUPPORTED: powerpc64le-target-arch // Sometimes hangs -// UNSUPPORTED: target={{.*netbsd.*}} +// UNSUPPORTED: target={{.*(freebsd|netbsd).*}} #include #include 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 5f26ba2f330bd..88ba38a2d3a2f 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c @@ -14,6 +14,9 @@ // UNSUPPORTED: target={{.*netbsd.*}} // UNSUPPORTED: target={{.*apple.*}} +// FIXME: Loops indefinitely +// UNSUPPORTED: target={{.*freebsd.*}} && tsan + // 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: diff --git a/compiler-rt/test/tsan/fork_multithreaded.cpp b/compiler-rt/test/tsan/fork_multithreaded.cpp index 1d3ff8d34579b..dd240e41c5fee 100644 --- a/compiler-rt/test/tsan/fork_multithreaded.cpp +++ b/compiler-rt/test/tsan/fork_multithreaded.cpp @@ -1,5 +1,7 @@ // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 66 2>&1 | FileCheck %s -check-prefix=CHECK-DIE // RUN: %clangxx_tsan -O1 %s -o %t && %env_tsan_opts=die_after_fork=0 %run %t 2>&1 | FileCheck %s -check-prefix=CHECK-NODIE +// FIXME: Loops indefinitely +// UNSUPPORTED: target={{.*freebsd.*}} #include "test.h" #include #include