summaryrefslogtreecommitdiff
path: root/test/asan
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2017-08-04 21:26:20 +0000
committerKostya Kortchinsky <kostyak@google.com>2017-08-04 21:26:20 +0000
commitfc2d319eaa67535ca9470cecc9db7863ac185883 (patch)
tree7a37077dc068b2959d35b843d5dafc8650d98779 /test/asan
parent0cbd2ad9eda21a6ed5024acb4cff8eceb250c6d3 (diff)
[asan] Fix unsupported test on Android
Summary: `pvalloc` appears to not be available on Android. Mark the failing test as unsupported on that platform. Reviewers: alekseyshl, vitalybuka Reviewed By: alekseyshl, vitalybuka Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D36339 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan')
-rw-r--r--test/asan/TestCases/Linux/pvalloc-overflow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Linux/pvalloc-overflow.cc b/test/asan/TestCases/Linux/pvalloc-overflow.cc
index 80a2b9ce8..b47c6266b 100644
--- a/test/asan/TestCases/Linux/pvalloc-overflow.cc
+++ b/test/asan/TestCases/Linux/pvalloc-overflow.cc
@@ -4,7 +4,7 @@
// RUN: ASAN_OPTIONS=allocator_may_return_null=0 not %run %t psm1 2>&1 | FileCheck %s
// RUN: ASAN_OPTIONS=allocator_may_return_null=1 %run %t psm1 2>&1
-// UNSUPPORTED: freebsd
+// UNSUPPORTED: freebsd, android
// Checks that pvalloc overflows are caught. If the allocator is allowed to
// return null, the errno should be set to ENOMEM.