[compiler-rt] r313447 - [sanitizer] Disable sanitizer test which already fails on Android i386

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 16 00:08:23 PDT 2017


Author: vitalybuka
Date: Sat Sep 16 00:08:23 2017
New Revision: 313447

URL: http://llvm.org/viewvc/llvm-project?rev=313447&view=rev
Log:
[sanitizer] Disable sanitizer test which already fails on Android i386

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpass.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc
    compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc Sat Sep 16 00:08:23 2017
@@ -1,6 +1,9 @@
 // RUN: %clangxx -g %s -o %t
 // RUN: %env_tool_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%tool_name
+
 // REQUIRES: stable-runtime
+// XFAIL: android && i386 && asan
+
 #include <errno.h>
 #include <fcntl.h>
 #include <pthread.h>

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpass.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpass.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpass.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getpass.cc Sat Sep 16 00:08:23 2017
@@ -1,5 +1,8 @@
 // RUN: %clangxx -O0 -g %s -lutil -o %t && %run %t | FileCheck %s
+
 // REQUIRES: stable-runtime
+// XFAIL: android && i386 && asan
+
 #include <assert.h>
 #include <stdio.h>
 #include <unistd.h>

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc Sat Sep 16 00:08:23 2017
@@ -5,6 +5,7 @@
 // RUN: not %run %t %t-out && FileCheck < %t-out %s
 
 // REQUIRES: stable-runtime
+// XFAIL: android && i386 && asan
 // FIXME: implement SEGV handler in other sanitizers, not just asan.
 // XFAIL: msan
 // XFAIL: lsan

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc Sat Sep 16 00:08:23 2017
@@ -1,9 +1,10 @@
 // Tests -fsanitize-coverage=no-prune
-//
+
 // REQUIRES: has_sancovcc,stable-runtime
 // UNSUPPORTED: i386-darwin
 // XFAIL: ubsan,tsan
-//
+// XFAIL: android && i386 && asan
+
 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=trace-pc,bb,no-prune 2>&1 | grep "call void @__sanitizer_cov_trace_pc" | count 3
 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=trace-pc,bb          2>&1 | grep "call void @__sanitizer_cov_trace_pc" | count 2
 // RUN: %clangxx -O0 %s -S -o - -emit-llvm -fsanitize-coverage=trace-pc,no-prune    2>&1 | grep "call void @__sanitizer_cov_trace_pc" | count 4

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc Sat Sep 16 00:08:23 2017
@@ -1,9 +1,10 @@
 // Tests trace pc guard coverage collection.
-//
+
 // REQUIRES: has_sancovcc,stable-runtime
 // UNSUPPORTED: ubsan
 // XFAIL: tsan,darwin,powerpc64,s390x,mips
-//
+// XFAIL: android && i386 && asan
+
 // RUN: DIR=%t_workdir
 // RUN: CLANG_ARGS="-O0 -fsanitize-coverage=trace-pc-guard"
 // RUN: rm -rf $DIR

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc?rev=313447&r1=313446&r2=313447&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc Sat Sep 16 00:08:23 2017
@@ -1,9 +1,10 @@
 // Tests trace pc guard coverage collection.
-//
+
 // REQUIRES: has_sancovcc,stable-runtime
 // UNSUPPORTED: ubsan,i386-darwin
 // XFAIL: tsan,powerpc64,s390x,mips
-//
+// XFAIL: android && i386 && asan
+
 // RUN: DIR=%t_workdir
 // RUN: rm -rf $DIR
 // RUN: mkdir -p $DIR
@@ -15,9 +16,7 @@
 // RUN: %env_tool_opts=coverage=0 %t 2>&1 | FileCheck --check-prefix=CHECK-NOCOV %s
 // RUN: rm -rf $DIR
 // Make some room to stabilize line numbers
-//
-//
-//
+
 #include <stdio.h>
 
 int foo() {




More information about the llvm-commits mailing list