From a53de0bf0fa31a730746a79d22b5a5c6d59e414c Mon Sep 17 00:00:00 2001 From: Kostya Kortchinsky Date: Fri, 4 Aug 2017 21:26:20 +0000 Subject: [PATCH] [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 llvm-svn: 310133 --- compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc b/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc index 80a2b9ce8e43..b47c6266b93b 100644 --- a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc +++ b/compiler-rt/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.