From: Akira Hatanaka Date: Wed, 12 Apr 2017 23:15:10 +0000 (+0000) Subject: [libFuzzer] XFAIL fuzzer-oom.test on Darwin. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69dba78684045a1bcf7804b38054f473a2f076eb;p=llvm [libFuzzer] XFAIL fuzzer-oom.test on Darwin. The test fails on Darwin because Fuzzer::DeathCallback (which calls DumpCurrentUnit("crash-")) is called before DumpCurrentUnit("oom-") is called in Fuzzer::RssLimitCallback. DeathCallback is transitively called from __sanitizer_print_memory_profile. This should fix the fuzzer bot that has been failing for a while: http://lab.llvm.org:8080/green/job/libFuzzer/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300127 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/test/fuzzer-oom.test b/lib/Fuzzer/test/fuzzer-oom.test index 2db91915876..e9d33552723 100644 --- a/lib/Fuzzer/test/fuzzer-oom.test +++ b/lib/Fuzzer/test/fuzzer-oom.test @@ -1,3 +1,4 @@ +XFAIL: darwin RUN: not LLVMFuzzer-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb)