[compiler-rt] r345595 - Mark breaking TSan tests on NetBSD with XFAIL

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 06:28:32 PDT 2018


Author: kamil
Date: Tue Oct 30 06:28:32 2018
New Revision: 345595

URL: http://llvm.org/viewvc/llvm-project?rev=345595&view=rev
Log:
Mark breaking TSan tests on NetBSD with XFAIL

Failing tests:
 - dtls
 - ignored-interceptors-mmap
 - mutex_lock_destroyed

Modified:
    compiler-rt/trunk/test/tsan/dtls.c
    compiler-rt/trunk/test/tsan/ignored-interceptors-mmap.cc
    compiler-rt/trunk/test/tsan/mutex_lock_destroyed.cc

Modified: compiler-rt/trunk/test/tsan/dtls.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/dtls.c?rev=345595&r1=345594&r2=345595&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/dtls.c (original)
+++ compiler-rt/trunk/test/tsan/dtls.c Tue Oct 30 06:28:32 2018
@@ -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.
 

Modified: compiler-rt/trunk/test/tsan/ignored-interceptors-mmap.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/ignored-interceptors-mmap.cc?rev=345595&r1=345594&r2=345595&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/ignored-interceptors-mmap.cc (original)
+++ compiler-rt/trunk/test/tsan/ignored-interceptors-mmap.cc Tue Oct 30 06:28:32 2018
@@ -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>

Modified: compiler-rt/trunk/test/tsan/mutex_lock_destroyed.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/mutex_lock_destroyed.cc?rev=345595&r1=345594&r2=345595&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/mutex_lock_destroyed.cc (original)
+++ compiler-rt/trunk/test/tsan/mutex_lock_destroyed.cc Tue Oct 30 06:28:32 2018
@@ -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>




More information about the llvm-commits mailing list