[compiler-rt] r218759 - [asan] Tune down mmap_limit_mb test.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Oct 1 05:43:50 PDT 2014


Author: eugenis
Date: Wed Oct  1 07:43:50 2014
New Revision: 218759

URL: http://llvm.org/viewvc/llvm-project?rev=218759&view=rev
Log:
[asan] Tune down mmap_limit_mb test.

The memory limits were a bit too large for 32-bit Android.

Modified:
    compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc

Modified: compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc?rev=218759&r1=218758&r2=218759&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/mmap_limit_mb.cc Wed Oct  1 07:43:50 2014
@@ -1,12 +1,12 @@
 // Test the mmap_limit_mb flag.
 //
 // RUN: %clangxx_asan -O2 %s -o %t
-// RUN: %run %t 100 16
-// RUN: %run %t 100 1000000
-// RUN: env ASAN_OPTIONS=mmap_limit_mb=500 %run %t 50 16
-// RUN: env ASAN_OPTIONS=mmap_limit_mb=500 %run %t 50 1000000
-// RUN: env ASAN_OPTIONS=mmap_limit_mb=500 not %run %t 500 16 2>&1 | FileCheck %s
-// RUN: env ASAN_OPTIONS=mmap_limit_mb=500 not %run %t 500 1000000 2>&1 | FileCheck %s
+// 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
 // XFAIL: arm-linux-gnueabi
 
 #include <assert.h>





More information about the llvm-commits mailing list