summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/ulimit.test
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2018-09-04 17:08:47 +0000
committerMatt Morehouse <mascasa@google.com>2018-09-04 17:08:47 +0000
commit24568789c4160182c44fa382138a19943f244083 (patch)
tree42e4a036d21d8306a64b20374e57fa16728793b4 /compiler-rt/test/fuzzer/ulimit.test
parentfacfb70d902234d74337c1e5481376a2e089c966 (diff)
downloadbcm5719-llvm-24568789c4160182c44fa382138a19943f244083.tar.gz
bcm5719-llvm-24568789c4160182c44fa382138a19943f244083.zip
[libFuzzer] Enable tests on Windows
Summary: Enable tests on Windows and make check-fuzzer pass on it. Make check-fuzzer pass on Windows by fixing libFuzzer, fixing tests, and by disabling tests on Windows. Most of these are disabled temporarily as support for the tests and the features they test will be added incrementally. Other tests will not be enabled since they require things that are not on Windows (eg: afl_driver tests). Every test that was explicitly disabled on Windows has a comment explaining why (unless obvious like merge-posix.test). The lit.cfg file was modified to support running tests on windows. fuzzer-dirs.test was fixed by making the Windows implementation print the same error message as the posix version. merge-control-file.test was fixed by making the test binary end with the ".exe" extension (on all platforms). Patch By: metzman Reviewers: morehouse Reviewed By: morehouse Subscribers: srhines, mgorny Differential Revision: https://reviews.llvm.org/D51549 llvm-svn: 341385
Diffstat (limited to 'compiler-rt/test/fuzzer/ulimit.test')
-rw-r--r--compiler-rt/test/fuzzer/ulimit.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/ulimit.test b/compiler-rt/test/fuzzer/ulimit.test
index 076866c5094..7cf4c0a6886 100644
--- a/compiler-rt/test/fuzzer/ulimit.test
+++ b/compiler-rt/test/fuzzer/ulimit.test
@@ -1,3 +1,5 @@
+# FIXME: Disabled on Windows for now because Windows has no ulimit command.
+UNSUPPORTED: windows
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
RUN: ulimit -s 1000
RUN: not %run %t-SimpleTest
OpenPOWER on IntegriCloud