From e90a7df5a179067d4eb64c97680dceb15b4b211d Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Tue, 30 Oct 2018 22:05:49 +0000 Subject: [PATCH] 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 llvm-svn: 345663 --- compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc | 2 ++ compiler-rt/test/asan/TestCases/Posix/coverage.cc | 1 + compiler-rt/test/asan/TestCases/Posix/dlclose-test.cc | 2 ++ .../test/asan/TestCases/Posix/interception-in-shared-lib-test.cc | 2 ++ compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc | 2 +- compiler-rt/test/asan/TestCases/Posix/tsd_dtor_leak.cc | 1 + 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc b/compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc index 6d76a30..152be2a 100644 --- a/compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc +++ b/compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc @@ -5,6 +5,8 @@ // // UNSUPPORTED: ios +// XFAIL: i386-netbsd + #include #include diff --git a/compiler-rt/test/asan/TestCases/Posix/coverage.cc b/compiler-rt/test/asan/TestCases/Posix/coverage.cc index 12a8840..9dbd72e 100644 --- a/compiler-rt/test/asan/TestCases/Posix/coverage.cc +++ b/compiler-rt/test/asan/TestCases/Posix/coverage.cc @@ -18,6 +18,7 @@ // // https://code.google.com/p/address-sanitizer/issues/detail?id=263 // XFAIL: android +// XFAIL: i386-netbsd // UNSUPPORTED: ios #include diff --git a/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cc b/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cc index 0aafa3e..160c1c9 100644 --- a/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/dlclose-test.cc @@ -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 #include diff --git a/compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc b/compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc index a7d2bfb..b31b035 100644 --- a/compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc +++ b/compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cc @@ -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 #include diff --git a/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc b/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc index 528fa94..02588d7 100644 --- a/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc +++ b/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc @@ -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 diff --git a/compiler-rt/test/asan/TestCases/Posix/tsd_dtor_leak.cc b/compiler-rt/test/asan/TestCases/Posix/tsd_dtor_leak.cc index 9e71ff6..860f345 100644 --- a/compiler-rt/test/asan/TestCases/Posix/tsd_dtor_leak.cc +++ b/compiler-rt/test/asan/TestCases/Posix/tsd_dtor_leak.cc @@ -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 #include #include -- 2.7.4