[PATCH] D29422: [libfuzzer] Disable afl tests on non-posix.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 13:35:09 PST 2017
mpividori created this revision.
AflDriver is not supported on non posix systems.
https://reviews.llvm.org/D29422
Files:
lib/Fuzzer/test/afl-driver-extra-stats.test
lib/Fuzzer/test/afl-driver-stderr.test
Index: lib/Fuzzer/test/afl-driver-stderr.test
===================================================================
--- lib/Fuzzer/test/afl-driver-stderr.test
+++ lib/Fuzzer/test/afl-driver-stderr.test
@@ -8,3 +8,5 @@
; Test that a file is created when specified as the duplicate stderr.
RUN: AFL_DRIVER_STDERR_DUPLICATE_FILENAME=%t AFLDriverTest
RUN: stat %t
+
+REQUIRES: posix
Index: lib/Fuzzer/test/afl-driver-extra-stats.test
===================================================================
--- lib/Fuzzer/test/afl-driver-extra-stats.test
+++ lib/Fuzzer/test/afl-driver-extra-stats.test
@@ -26,3 +26,5 @@
RUN: printf "peak_rss_mb : 9999\nslowest_unit_time_sec: 9999\n" > %t
RUN: AFL_DRIVER_EXTRA_STATS_FILENAME=%t AFLDriverTest
RUN: [[ $(grep "9999" %t | wc -l) -eq 2 ]]
+
+REQUIRES: posix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29422.86708.patch
Type: text/x-patch
Size: 801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/a72179f9/attachment.bin>
More information about the llvm-commits
mailing list