aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-10-30 13:28:32 +0000
committerKamil Rytarowski <n54@gmx.com>2018-10-30 13:28:32 +0000
commit647ece0144f1633bb98633a9b5e0a0dc565a0d1d (patch)
tree30cd0455724622d76857abc0d36fb75ce39ca103
parenta32a2e34431480759d4983949cbcc25456c6199b (diff)
downloadllvm-647ece0144f1633bb98633a9b5e0a0dc565a0d1d.zip
llvm-647ece0144f1633bb98633a9b5e0a0dc565a0d1d.tar.gz
llvm-647ece0144f1633bb98633a9b5e0a0dc565a0d1d.tar.bz2
Mark breaking TSan tests on NetBSD with XFAIL
Failing tests: - dtls - ignored-interceptors-mmap - mutex_lock_destroyed llvm-svn: 345595
-rw-r--r--compiler-rt/test/tsan/dtls.c1
-rw-r--r--compiler-rt/test/tsan/ignored-interceptors-mmap.cc2
-rw-r--r--compiler-rt/test/tsan/mutex_lock_destroyed.cc3
3 files changed, 5 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/dtls.c b/compiler-rt/test/tsan/dtls.c
index 5169756..b00ca76 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 796ea93..4686e8e 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 <errno.h>
#include <sys/mman.h>
diff --git a/compiler-rt/test/tsan/mutex_lock_destroyed.cc b/compiler-rt/test/tsan/mutex_lock_destroyed.cc
index 52d6be6..581d8cc 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 <pthread.h>
#include <stdio.h>
#include <stdlib.h>