[compiler-rt] r306620 - [asan] Disable tests which do no work on Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 17:19:29 PDT 2017


Author: vitalybuka
Date: Wed Jun 28 17:19:28 2017
New Revision: 306620

URL: http://llvm.org/viewvc/llvm-project?rev=306620&view=rev
Log:
[asan] Disable tests which do no work on Android

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-3.cc
    compiler-rt/trunk/test/asan/TestCases/Linux/textdomain.c
    compiler-rt/trunk/test/asan/TestCases/malloc-no-intercept.c

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-3.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-3.cc?rev=306620&r1=306619&r2=306620&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-3.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-3.cc Wed Jun 28 17:19:28 2017
@@ -10,6 +10,9 @@
 // RUN: env LD_PRELOAD=%shared_libasan %run %t-2 2>&1 | FileCheck %s
 // REQUIRES: asan-dynamic-runtime
 
+// FIXME: Test regressed while android bot was disabled. Needs investigation.
+// UNSUPPORTED: android
+
 #include <stdlib.h>
 #include <stdio.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/textdomain.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/textdomain.c?rev=306620&r1=306619&r2=306620&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/textdomain.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/textdomain.c Wed Jun 28 17:19:28 2017
@@ -1,6 +1,9 @@
 // RUN: %clang_asan -O0 -g %s -o %t
 // RUN: %env_asan_opts=strict_string_checks=1 %run %t
 
+// Android NDK does not have libintl.h
+// UNSUPPORTED: android
+
 #include <stdlib.h>
 #include <libintl.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/malloc-no-intercept.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/malloc-no-intercept.c?rev=306620&r1=306619&r2=306620&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/malloc-no-intercept.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/malloc-no-intercept.c Wed Jun 28 17:19:28 2017
@@ -7,6 +7,9 @@
 // RUN: not %clang_asan -Dtestfunc=pvalloc  %s -o %t
 // RUN: not %clang_asan -Dtestfunc=cfree    %s -o %t
 
+// Conflicts with BIONIC declarations.
+// UNSUPPORTED: android
+
 #include <stdlib.h>
 
 // For glibc, cause link failures by referencing a nonexistent function.




More information about the llvm-commits mailing list