[compiler-rt] r290279 - Increase the treshold in unit test to accomodate for qurantine size increase.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 14:50:08 PST 2016
Author: eugenis
Date: Wed Dec 21 16:50:08 2016
New Revision: 290279
URL: http://llvm.org/viewvc/llvm-project?rev=290279&view=rev
Log:
Increase the treshold in unit test to accomodate for qurantine size increase.
Reviewers: eugenis
Patch by Alex Shlyapnikov.
Subscribers: llvm-commits, kubabrecka
Differential Revision: https://reviews.llvm.org/D28029
Modified:
compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc?rev=290279&r1=290278&r2=290279&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc Wed Dec 21 16:50:08 2016
@@ -177,7 +177,8 @@ TEST(AddressSanitizer, ThreadedQuarantin
PTHREAD_CREATE(&t, NULL, ThreadedQuarantineTestWorker, 0);
PTHREAD_JOIN(t, 0);
size_t mmaped2 = __sanitizer_get_heap_size();
- EXPECT_LT(mmaped2 - mmaped1, 320U * (1 << 20));
+ // Figure out why this much memory is required.
+ EXPECT_LT(mmaped2 - mmaped1, 352U * (1 << 20));
}
}
More information about the llvm-commits
mailing list