summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2016-06-14 19:15:13 +0000
committerDan Liew <dan@su-root.co.uk>2016-06-14 19:15:13 +0000
commit916bc2b0245c530a43b0f8c91f732c2fe9164f90 (patch)
treebd8da30aff57826d2df95d8466e39229e8918dac /llvm/lib/Fuzzer
parent3dd0fb3e70064bd4830c8a080e20cdc77666bf46 (diff)
downloadbcm5719-llvm-916bc2b0245c530a43b0f8c91f732c2fe9164f90.tar.gz
bcm5719-llvm-916bc2b0245c530a43b0f8c91f732c2fe9164f90.zip
[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 llvm-svn: 272696
Diffstat (limited to 'llvm/lib/Fuzzer')
-rw-r--r--llvm/lib/Fuzzer/test/fuzzer-trace-pc.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/fuzzer-trace-pc.test b/llvm/lib/Fuzzer/test/fuzzer-trace-pc.test
index a3ba280f4cf..673249d0478 100644
--- a/llvm/lib/Fuzzer/test/fuzzer-trace-pc.test
+++ b/llvm/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 test on Linux.
RUN: not LLVMFuzzer-FullCoverageSetTest-TracePC -seed=1 -runs=10000000 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud