diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-10-30 21:20:17 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-10-30 21:20:17 +0000 |
commit | e228149643cc472ebd6fcd1efce8a9c17a7951f7 (patch) | |
tree | 4754b28a3795c45f848dc9ef13b4814a9bf721ed | |
parent | 091cd599a07a8a8a47e5bc5d425821db3fc0ca61 (diff) | |
download | compiler-rt-e228149643cc472ebd6fcd1efce8a9c17a7951f7.tar.gz |
Mark breaking sanitizer_common tests on NetBSD
Set XFAIL with appropriate configuration for:
- NetBSD/getgroupmembership
- Posix/dedup_token_length_test
- Posix/readlinkat
- get_module_and_offset_for_pc
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345651 91177308-0d34-0410-b5e6-96231b3b80d8
4 files changed, 7 insertions, 0 deletions
diff --git a/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc b/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc index ee27ad6cf..025ca9052 100644 --- a/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc +++ b/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc @@ -1,5 +1,7 @@ // RUN: %clangxx -O0 -g %s -o %t && %run %t +// XFAIL: netbsd && msan + #include <stdlib.h> #include <unistd.h> #include <grp.h> diff --git a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc index d9a1bc660..94c50be16 100644 --- a/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc +++ b/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc @@ -8,6 +8,8 @@ // REQUIRES: stable-runtime +// XFAIL: netbsd && !asan + volatile int *null = 0; namespace Xyz { diff --git a/test/sanitizer_common/TestCases/Posix/readlinkat.c b/test/sanitizer_common/TestCases/Posix/readlinkat.c index 0afb5efe6..227c6da54 100644 --- a/test/sanitizer_common/TestCases/Posix/readlinkat.c +++ b/test/sanitizer_common/TestCases/Posix/readlinkat.c @@ -1,5 +1,7 @@ // RUN: %clang -O0 %s -o %t && %run %t +// XFAIL: i386-netbsd && asan + #include <assert.h> #include <fcntl.h> #include <limits.h> diff --git a/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc b/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc index b313df87c..579ecb3c4 100644 --- a/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc +++ b/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc @@ -5,6 +5,7 @@ // UNSUPPORTED: i386-darwin // XFAIL: android +// XFAIL: netbsd && msan // Tests __sanitizer_get_module_and_offset_for_pc. |