[PATCH] D28132: Fix unit test broken by D27873.
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 27 16:49:30 PST 2016
alekseyshl created this revision.
alekseyshl added a reviewer: eugenis.
alekseyshl added a subscriber: llvm-commits.
Herald added subscribers: kubabrecka, danalbert.
Reduce RSS size treshold in the unit test to accomodate for the smaller
ASAN quarantine size on Android (see https://reviews.llvm.org/D27873).
https://reviews.llvm.org/D28132
Files:
test/asan/TestCases/Linux/quarantine_size_mb.cc
Index: test/asan/TestCases/Linux/quarantine_size_mb.cc
===================================================================
--- test/asan/TestCases/Linux/quarantine_size_mb.cc
+++ test/asan/TestCases/Linux/quarantine_size_mb.cc
@@ -4,7 +4,7 @@
// RUN: %env_asan_opts=quarantine_size_mb=10:verbosity=1:hard_rss_limit_mb=50 %run %t 2>&1 | FileCheck %s --check-prefix=Q10
// RUN: %env_asan_opts=quarantine_size_mb=10:quarantine_size=20:verbosity=1 not %run %t 2>&1 | FileCheck %s --check-prefix=BOTH
// RUN: %env_asan_opts=quarantine_size_mb=1000:hard_rss_limit_mb=50 not %run %t 2>&1 | FileCheck %s --check-prefix=RSS_LIMIT
-// RUN: %env_asan_opts=hard_rss_limit_mb=50 not %run %t 2>&1 | FileCheck %s --check-prefix=RSS_LIMIT
+// RUN: %env_asan_opts=hard_rss_limit_mb=20 not %run %t 2>&1 | FileCheck %s --check-prefix=RSS_LIMIT
#include <string.h>
char *g;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28132.82566.patch
Type: text/x-patch
Size: 950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161228/8d58cdc3/attachment.bin>
More information about the llvm-commits
mailing list