[compiler-rt] r345651 - Mark breaking sanitizer_common tests on NetBSD

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 14:20:17 PDT 2018


Author: kamil
Date: Tue Oct 30 14:20:17 2018
New Revision: 345651

URL: http://llvm.org/viewvc/llvm-project?rev=345651&view=rev
Log:
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

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/readlinkat.c
    compiler-rt/trunk/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc?rev=345651&r1=345650&r2=345651&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/getgroupmembership.cc Tue Oct 30 14:20:17 2018
@@ -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>

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc?rev=345651&r1=345650&r2=345651&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc Tue Oct 30 14:20:17 2018
@@ -8,6 +8,8 @@
 
 // REQUIRES: stable-runtime
 
+// XFAIL: netbsd && !asan
+
 volatile int *null = 0;
 
 namespace Xyz {

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/readlinkat.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/readlinkat.c?rev=345651&r1=345650&r2=345651&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/readlinkat.c (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/readlinkat.c Tue Oct 30 14:20:17 2018
@@ -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>

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc?rev=345651&r1=345650&r2=345651&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc Tue Oct 30 14:20:17 2018
@@ -5,6 +5,7 @@
 
 // UNSUPPORTED: i386-darwin
 // XFAIL: android
+// XFAIL: netbsd && msan
 
 // Tests __sanitizer_get_module_and_offset_for_pc.
 




More information about the llvm-commits mailing list