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

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 12:15:13 PDT 2016


Author: delcypher
Date: Tue Jun 14 14:15:13 2016
New Revision: 272696

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

Differential Revision: http://reviews.llvm.org/D21319

Modified:
    llvm/trunk/lib/Fuzzer/test/fuzzer-trace-pc.test

Modified: llvm/trunk/lib/Fuzzer/test/fuzzer-trace-pc.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/fuzzer-trace-pc.test?rev=272696&r1=272695&r2=272696&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer-trace-pc.test (original)
+++ llvm/trunk/lib/Fuzzer/test/fuzzer-trace-pc.test Tue Jun 14 14:15:13 2016
@@ -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 test on Linux.
 RUN: not LLVMFuzzer-FullCoverageSetTest-TracePC              -seed=1 -runs=10000000 2>&1 | FileCheck %s




More information about the llvm-commits mailing list