From: Kostya Serebryany Date: Wed, 27 Apr 2016 19:52:56 +0000 (+0000) Subject: [libFuzzer] disable leak detection if we have tried it for 1000 times w/o finding... X-Git-Tag: android-x86-7.1-r4~34428 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cb249e3b07bdefc119fe13ae787c03970e5ce954;p=android-x86%2Fexternal-llvm.git [libFuzzer] disable leak detection if we have tried it for 1000 times w/o finding a leak [part 2] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267771 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/test/fuzzer-leak.test b/lib/Fuzzer/test/fuzzer-leak.test index 25c1f45978c..d86a8f68743 100644 --- a/lib/Fuzzer/test/fuzzer-leak.test +++ b/lib/Fuzzer/test/fuzzer-leak.test @@ -20,4 +20,5 @@ RUN: not LLVMFuzzer-LeakTimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefi LEAK_TIMEOUT: ERROR: libFuzzer: timeout after LEAK_TIMEOUT-NOT: LeakSanitizer - +RUN: LLVMFuzzer-AccumulateAllocationsTest -detect_leaks=1 -runs=100000 2>&1 | FileCheck %s --check-prefix=ACCUMULATE_ALLOCS +ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation