Skip to content

Commit 0c981cf

Browse files
committed
[asan] Disable tests which do no work on Android
llvm-svn: 306620
1 parent 3681a55 commit 0c981cf

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

compiler-rt/test/asan/TestCases/Linux/asan_preload_test-3.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// RUN: env LD_PRELOAD=%shared_libasan %run %t-2 2>&1 | FileCheck %s
1111
// REQUIRES: asan-dynamic-runtime
1212

13+
// FIXME: Test regressed while android bot was disabled. Needs investigation.
14+
// UNSUPPORTED: android
15+
1316
#include <stdlib.h>
1417
#include <stdio.h>
1518

compiler-rt/test/asan/TestCases/Linux/textdomain.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %clang_asan -O0 -g %s -o %t
22
// RUN: %env_asan_opts=strict_string_checks=1 %run %t
33

4+
// Android NDK does not have libintl.h
5+
// UNSUPPORTED: android
6+
47
#include <stdlib.h>
58
#include <libintl.h>
69

compiler-rt/test/asan/TestCases/malloc-no-intercept.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
// RUN: not %clang_asan -Dtestfunc=pvalloc %s -o %t
88
// RUN: not %clang_asan -Dtestfunc=cfree %s -o %t
99

10+
// Conflicts with BIONIC declarations.
11+
// UNSUPPORTED: android
12+
1013
#include <stdlib.h>
1114

1215
// For glibc, cause link failures by referencing a nonexistent function.

0 commit comments

Comments
 (0)