[compiler-rt] r240858 - [asan] Disable 3 tests on Android.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Jun 26 16:44:43 PDT 2015
Author: eugenis
Date: Fri Jun 26 18:44:43 2015
New Revision: 240858
URL: http://llvm.org/viewvc/llvm-project?rev=240858&view=rev
Log:
[asan] Disable 3 tests on Android.
Different reasons for failing; see source file comments.
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/init-order-dlopen.cc
compiler-rt/trunk/test/asan/TestCases/closed-fds.cc
compiler-rt/trunk/test/asan/TestCases/coverage-disabled.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/init-order-dlopen.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/init-order-dlopen.cc?rev=240858&r1=240857&r2=240858&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/init-order-dlopen.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/init-order-dlopen.cc Fri Jun 26 18:44:43 2015
@@ -5,6 +5,10 @@
// RUN: %clangxx_asan -O0 %s %libdl -Wl,--export-dynamic -o %t
// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:strict_init_order=true %run %t 2>&1
+// dlopen() can not be intercepted on Android, making strict_init_order nearly
+// useless there.
+// UNSUPPORTED: android
+
#if defined(SHARED_LIB)
#include <stdio.h>
Modified: compiler-rt/trunk/test/asan/TestCases/closed-fds.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/closed-fds.cc?rev=240858&r1=240857&r2=240858&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/closed-fds.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/closed-fds.cc Fri Jun 26 18:44:43 2015
@@ -5,6 +5,9 @@
// RUN: %clangxx_asan -O0 %s -o %t 2>&1 && ASAN_OPTIONS=$ASAN_OPTIONS:log_path=%t.log:verbosity=2 not %run %t 2>&1
// RUN: FileCheck %s --check-prefix=CHECK-FILE < %t.log.*
+// FIXME: copy %t.log back from the device and re-enable on Android.
+// UNSUPPORTED: android
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
Modified: compiler-rt/trunk/test/asan/TestCases/coverage-disabled.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/coverage-disabled.cc?rev=240858&r1=240857&r2=240858&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/coverage-disabled.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/coverage-disabled.cc Fri Jun 26 18:44:43 2015
@@ -13,7 +13,7 @@
// RUN: cd %T/coverage-disabled/direct
// RUN: not %sancov rawunpack *.sancov
//
-// XFAIL: android
+// UNSUPPORTED: android
int main(int argc, char **argv) {
return 0;
More information about the llvm-commits
mailing list