Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 43c73a0

Browse files
committed
[asan] Disable 3 tests on Android.
Different reasons for failing; see source file comments. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@240858 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 286b265 commit 43c73a0

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

test/asan/TestCases/Linux/init-order-dlopen.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
// RUN: %clangxx_asan -O0 %s %libdl -Wl,--export-dynamic -o %t
66
// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:strict_init_order=true %run %t 2>&1
77

8+
// dlopen() can not be intercepted on Android, making strict_init_order nearly
9+
// useless there.
10+
// UNSUPPORTED: android
11+
812
#if defined(SHARED_LIB)
913
#include <stdio.h>
1014

test/asan/TestCases/closed-fds.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %clangxx_asan -O0 %s -o %t 2>&1 && ASAN_OPTIONS=$ASAN_OPTIONS:log_path=%t.log:verbosity=2 not %run %t 2>&1
66
// RUN: FileCheck %s --check-prefix=CHECK-FILE < %t.log.*
77

8+
// FIXME: copy %t.log back from the device and re-enable on Android.
9+
// UNSUPPORTED: android
10+
811
#include <assert.h>
912
#include <stdio.h>
1013
#include <stdlib.h>

test/asan/TestCases/coverage-disabled.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// RUN: cd %T/coverage-disabled/direct
1414
// RUN: not %sancov rawunpack *.sancov
1515
//
16-
// XFAIL: android
16+
// UNSUPPORTED: android
1717

1818
int main(int argc, char **argv) {
1919
return 0;

0 commit comments

Comments
 (0)