[PATCH] D29532: [libFuzzer] Simplify test to work on windows.
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 15:40:57 PST 2017
kcc added inline comments.
================
Comment at: lib/Fuzzer/test/dump_coverage.test:4
+RUN: xargs sancov -covered-functions LLVMFuzzer-NullDerefTest* %t_workdir/*.sancov | FileCheck %s --check-prefix=SANCOV
+RUN: LLVMFuzzer-DSOTest -dump_coverage=1 -runs=0 2>&1 | FileCheck %s --check-prefix=DSO
+RUN: not LLVMFuzzer-NullDerefTest -dump_coverage=0 2>&1 | FileCheck %s --check-prefix=NOCOV
----------------
use env ASAN_OPTIONS=coverage_dir='"%t_workdir"' in all the lines below to avoid races on output files.
https://reviews.llvm.org/D29532
More information about the llvm-commits
mailing list