[llvm] r300127 - [libFuzzer] XFAIL fuzzer-oom.test on Darwin.

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 16:15:10 PDT 2017


Author: ahatanak
Date: Wed Apr 12 18:15:10 2017
New Revision: 300127

URL: http://llvm.org/viewvc/llvm-project?rev=300127&view=rev
Log:
[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/

Modified:
    llvm/trunk/lib/Fuzzer/test/fuzzer-oom.test

Modified: llvm/trunk/lib/Fuzzer/test/fuzzer-oom.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/fuzzer-oom.test?rev=300127&r1=300126&r2=300127&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer-oom.test (original)
+++ llvm/trunk/lib/Fuzzer/test/fuzzer-oom.test Wed Apr 12 18:15:10 2017
@@ -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)




More information about the llvm-commits mailing list