]> granicus.if.org Git - llvm/commitdiff
[libFuzzer] XFAIL fuzzer-oom.test on Darwin.
authorAkira Hatanaka <ahatanaka@apple.com>
Wed, 12 Apr 2017 23:15:10 +0000 (23:15 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Wed, 12 Apr 2017 23:15:10 +0000 (23:15 +0000)
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

lib/Fuzzer/test/fuzzer-oom.test

index 2db91915876e33d838e52e9417b29ff718b68fc2..e9d33552723eb15f6e8a8f7897bbd61f88b791e7 100644 (file)
@@ -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)