From 647ece0144f1633bb98633a9b5e0a0dc565a0d1d Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Tue, 30 Oct 2018 13:28:32 +0000 Subject: [PATCH] Mark breaking TSan tests on NetBSD with XFAIL Failing tests: - dtls - ignored-interceptors-mmap - mutex_lock_destroyed llvm-svn: 345595 --- compiler-rt/test/tsan/dtls.c | 1 + compiler-rt/test/tsan/ignored-interceptors-mmap.cc | 2 +- compiler-rt/test/tsan/mutex_lock_destroyed.cc | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/dtls.c b/compiler-rt/test/tsan/dtls.c index 51697565f1f1..b00ca7691354 100644 --- a/compiler-rt/test/tsan/dtls.c +++ b/compiler-rt/test/tsan/dtls.c @@ -1,6 +1,7 @@ // RUN: %clang_tsan %s -o %t // RUN: %clang_tsan %s -DBUILD_SO -fPIC -o %t-so.so -shared // RUN: %run %t 2>&1 | FileCheck %s +// XFAIL: netbsd // Test that tsan cleans up dynamic TLS memory between reuse. diff --git a/compiler-rt/test/tsan/ignored-interceptors-mmap.cc b/compiler-rt/test/tsan/ignored-interceptors-mmap.cc index 796ea9323345..4686e8eb30a6 100644 --- a/compiler-rt/test/tsan/ignored-interceptors-mmap.cc +++ b/compiler-rt/test/tsan/ignored-interceptors-mmap.cc @@ -1,7 +1,7 @@ // RUN: %clangxx_tsan -O0 %s -o %t // RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NORMAL // RUN: %env_tsan_opts=ignore_interceptors_accesses=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-IGNORE -// XFAIL: freebsd +// XFAIL: freebsd,netbsd #include #include diff --git a/compiler-rt/test/tsan/mutex_lock_destroyed.cc b/compiler-rt/test/tsan/mutex_lock_destroyed.cc index 52d6be6210a6..581d8cce296e 100644 --- a/compiler-rt/test/tsan/mutex_lock_destroyed.cc +++ b/compiler-rt/test/tsan/mutex_lock_destroyed.cc @@ -2,6 +2,9 @@ // RUN: %deflake %run %t | FileCheck %s // RUN: %deflake %run %t 1 | FileCheck %s +// The pthread_mutex_lock interceptor assumes incompatible internals w/ NetBSD +// XFAIL: netbsd + #include #include #include