[PATCH] D36339: [asan] Fix unsupported test on Android

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 14:25:46 PDT 2017


cryptoad created this revision.
Herald added subscribers: kubamracek, srhines.

`pvalloc` appears to not be available on Android. Mark the failing test as
unsupported on that platform.


https://reviews.llvm.org/D36339

Files:
  test/asan/TestCases/Linux/pvalloc-overflow.cc


Index: test/asan/TestCases/Linux/pvalloc-overflow.cc
===================================================================
--- test/asan/TestCases/Linux/pvalloc-overflow.cc
+++ 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36339.109822.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170804/f8d392de/attachment.bin>


More information about the llvm-commits mailing list