[PATCH] D21319: [LibFuzzer] Disable the `fuzzer-trace-pc.test` test on non-linux platforms.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 20:40:37 PDT 2016


delcypher created this revision.
delcypher added reviewers: kcc, aizatsky.
delcypher added subscribers: kcc, aizatsky, zaks.anna, kubabrecka, dcoughlin, llvm-commits.

[LibFuzzer] Disable the `fuzzer-trace-pc.test` test on non-linux platforms.

On OSX this test sometimes fails due to the
`LLVMFuzzer-FullCoverageSetTest-TracePC` program going over the
default 2GiB memory limit. This shouldn't be happening and needs
investigating. For now just disable the test so we can set up an
OSX buildbot.


http://reviews.llvm.org/D21319

Files:
  lib/Fuzzer/test/fuzzer-trace-pc.test

Index: lib/Fuzzer/test/fuzzer-trace-pc.test
===================================================================
--- lib/Fuzzer/test/fuzzer-trace-pc.test
+++ lib/Fuzzer/test/fuzzer-trace-pc.test
@@ -1,3 +1,7 @@
 CHECK: BINGO
+REQUIRES: linux
 RUN: not LLVMFuzzer-FourIndependentBranchesTest-TracePC      -seed=1 -runs=1000000 2>&1 | FileCheck %s
+// FIXME: The test below uses a significant amount of memory on OSX and
+// sometimes hits the 2GiB memory limit. This needs to be investigated. For now
+// only run the the test on Linux.
 RUN: not LLVMFuzzer-FullCoverageSetTest-TracePC              -seed=1 -runs=10000000 2>&1 | FileCheck %s


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21319.60645.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/6c43223a/attachment.bin>


More information about the llvm-commits mailing list