summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-06-28 22:54:55 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-06-28 22:54:55 +0000
commit573ea0e399b1f1439fa402dbd26be9d33dbdbe4d (patch)
treed6beffc2007892a39b64c0adf7c105574517e709
parentd6bd232da4eb9a27bc133912a7e90bef75624fee (diff)
[asan] Disable 3 tests on Android O+.
https://github.com/google/sanitizers/issues/981 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335937 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/Linux/quarantine_size_mb.cc4
-rw-r--r--test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc3
-rw-r--r--test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc4
3 files changed, 11 insertions, 0 deletions
diff --git a/test/asan/TestCases/Linux/quarantine_size_mb.cc b/test/asan/TestCases/Linux/quarantine_size_mb.cc
index 239eeabee..0d128dac7 100644
--- a/test/asan/TestCases/Linux/quarantine_size_mb.cc
+++ b/test/asan/TestCases/Linux/quarantine_size_mb.cc
@@ -5,6 +5,10 @@
// RUN: %env_asan_opts=quarantine_size_mb=10:quarantine_size=20:verbosity=1 not %run %t 2>&1 | FileCheck %s --check-prefix=BOTH
// RUN: %env_asan_opts=quarantine_size_mb=1000:hard_rss_limit_mb=50 not %run %t 2>&1 | FileCheck %s --check-prefix=RSS_LIMIT
// RUN: %env_asan_opts=hard_rss_limit_mb=20 not %run %t 2>&1 | FileCheck %s --check-prefix=RSS_LIMIT
+
+// https://github.com/google/sanitizers/issues/981
+// XFAIL: android-26
+
#include <string.h>
char *g;
diff --git a/test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc b/test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc
index 3c875c179..970db74c8 100644
--- a/test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc
@@ -16,6 +16,9 @@
// XFAIL: msan
// XFAIL: ubsan
+// https://github.com/google/sanitizers/issues/981
+// XFAIL: android-26
+
#include <string.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc b/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc
index 4c373f153..f0fec3fde 100644
--- a/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc
@@ -15,6 +15,10 @@
// XFAIL: tsan
// XFAIL: msan
// XFAIL: ubsan
+
+// https://github.com/google/sanitizers/issues/981
+// XFAIL: android-26
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>