[PATCH] D28029: Increase the treshold in unit test to accomodate for qurantine size increase.

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 15:00:48 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL290279: Increase the treshold in unit test to accomodate for qurantine size increase. (authored by eugenis).

Changed prior to commit:
  https://reviews.llvm.org/D28029?vs=82269&id=82277#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28029

Files:
  compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc


Index: compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
===================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
+++ compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
@@ -177,7 +177,8 @@
     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));
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28029.82277.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161221/69f59805/attachment.bin>


More information about the llvm-commits mailing list