[asan] Disable 3 tests on Android.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 26 Jun 2015 23:44:43 +0000 (23:44 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 26 Jun 2015 23:44:43 +0000 (23:44 +0000)
Different reasons for failing; see source file comments.

llvm-svn: 240858

compiler-rt/test/asan/TestCases/Linux/init-order-dlopen.cc
compiler-rt/test/asan/TestCases/closed-fds.cc
compiler-rt/test/asan/TestCases/coverage-disabled.cc

index a04a84e..fcfb5d1 100644 (file)
@@ -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>
 
index 56799e4..af0ac26 100644 (file)
@@ -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>
index 605bd10..dd28485 100644 (file)
@@ -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;