[PATCH] D29422: [libfuzzer] Disable afl tests on non-posix.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 13:44:43 PST 2017
Just to be sure, did you run these tests on a posix system after adding
your changes to the lit config to make sure that it works as expected?
On Wed, Feb 1, 2017 at 1:35 PM Marcos Pividori via Phabricator <
reviews at reviews.llvm.org> wrote:
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/41d30db3/attachment.html>
More information about the llvm-commits
mailing list