From d90c20bc264cc61c2180d7e88b979de2eae10827 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 1 Oct 2014 14:21:05 +0000 Subject: [PATCH] [asan] Scale back mmap_limit_mb test. There is some strange interaction between mmap limit and unlimited stack (ulimit -s unlimited), which results in this test failing when run with "make". llvm-svn: 218764 --- compiler-rt/test/asan/TestCases/mmap_limit_mb.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc b/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc index db39be30cc9a..d4ffb2eac246 100644 --- a/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc +++ b/compiler-rt/test/asan/TestCases/mmap_limit_mb.cc @@ -3,10 +3,10 @@ // RUN: %clangxx_asan -O2 %s -o %t // RUN: %run %t 20 16 // RUN: %run %t 30 1000000 -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 %run %t 20 16 -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 %run %t 20 1000000 -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 not %run %t 500 16 2>&1 | FileCheck %s -// RUN: env ASAN_OPTIONS=mmap_limit_mb=150 not %run %t 500 1000000 2>&1 | FileCheck %s +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 %run %t 20 16 +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 %run %t 20 1000000 +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 not %run %t 500 16 2>&1 | FileCheck %s +// RUN: env ASAN_OPTIONS=mmap_limit_mb=300 not %run %t 500 1000000 2>&1 | FileCheck %s // XFAIL: arm-linux-gnueabi #include