[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
This commit is contained in:
Evgeniy Stepanov 2014-10-01 14:21:05 +00:00
parent d4e0a4fd2c
commit d90c20bc26
1 changed files with 4 additions and 4 deletions

View File

@ -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 <assert.h>