[compiler-rt] r345663 - Mark breaking asan tests on NetBSD

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 15:05:49 PDT 2018


Author: kamil
Date: Tue Oct 30 15:05:49 2018
New Revision: 345663

URL: http://llvm.org/viewvc/llvm-project?rev=345663&view=rev
Log:
Mark breaking asan tests on NetBSD

Failing ones:
 - coverage-reset
 - coverage
 - dlclose-test
 - interception-in-shared-lib-test
 - stack-use-after-return
 - tsd_dtor_leak

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/dlclose-test.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc
    compiler-rt/trunk/test/asan/TestCases/Posix/tsd_dtor_leak.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage-reset.cc Tue Oct 30 15:05:49 2018
@@ -5,6 +5,8 @@
 //
 // UNSUPPORTED: ios
 
+// XFAIL: i386-netbsd
+
 #include <stdio.h>
 
 #include <sanitizer/coverage_interface.h>

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc Tue Oct 30 15:05:49 2018
@@ -18,6 +18,7 @@
 //
 // https://code.google.com/p/address-sanitizer/issues/detail?id=263
 // XFAIL: android
+// XFAIL: i386-netbsd
 // UNSUPPORTED: ios
 
 #include <assert.h>

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/dlclose-test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/dlclose-test.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/dlclose-test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/dlclose-test.cc Tue Oct 30 15:05:49 2018
@@ -23,6 +23,8 @@
 // RUN: %clangxx_asan -O3 -DSHARED_LIB %s -fPIC -shared -o %t-so.so
 // RUN: %clangxx_asan -O3 %s %libdl -o %t && %run %t 2>&1 | FileCheck %s
 
+// XFAIL: i386-netbsd
+
 #if !defined(SHARED_LIB)
 #include <assert.h>
 #include <dlfcn.h>

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc Tue Oct 30 15:05:49 2018
@@ -5,6 +5,8 @@
 // RUN: %clangxx_asan -O0 %s -o %t %ld_flags_rpath_exe && \
 // RUN:     not %run %t 2>&1 | FileCheck %s
 
+// XFAIL: i386-netbsd
+
 #include <stdio.h>
 #include <string.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc Tue Oct 30 15:05:49 2018
@@ -17,7 +17,7 @@
 // This test runs out of stack on AArch64.
 // UNSUPPORTED: aarch64
 // stack size log lower than expected
-// XFAIL: freebsd
+// XFAIL: freebsd,netbsd
 
 // FIXME: Fix this test for dynamic runtime on arm linux.
 // UNSUPPORTED: (arm-linux || armhf-linux) && asan-dynamic-runtime

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/tsd_dtor_leak.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/tsd_dtor_leak.cc?rev=345663&r1=345662&r2=345663&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/tsd_dtor_leak.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/tsd_dtor_leak.cc Tue Oct 30 15:05:49 2018
@@ -2,6 +2,7 @@
 // https://code.google.com/p/address-sanitizer/issues/detail?id=233
 // RUN: %clangxx_asan -O1 %s -pthread -o %t
 // RUN: %env_asan_opts=quarantine_size_mb=0 %run %t
+// XFAIL: x86_64-netbsd
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>




More information about the llvm-commits mailing list