mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
971be03956
Summary: The option is very useful for testing, plus I intend to measure its effect on fuzzer effectiveness. Differential Revision: http://reviews.llvm.org/D21084 llvm-svn: 272035
14 lines
463 B
Plaintext
14 lines
463 B
Plaintext
RUN: rm -rf %t/PruneCorpus
|
|
RUN: mkdir -p %t/PruneCorpus
|
|
RUN: echo a > %t/PruneCorpus/a
|
|
RUN: echo b > %t/PruneCorpus/b
|
|
RUN: LLVMFuzzer-EmptyTest %t/PruneCorpus -prune_corpus=1 -runs=0 2>&1 | FileCheck %s --check-prefix=PRUNE
|
|
RUN: LLVMFuzzer-EmptyTest %t/PruneCorpus -prune_corpus=0 -runs=0 2>&1 | FileCheck %s --check-prefix=NOPRUNE
|
|
RUN: rm -rf %t/PruneCorpus
|
|
|
|
PRUNE: READ units: 2
|
|
PRUNE: INITED{{.*}}units: 1
|
|
NOPRUNE: READ units: 2
|
|
NOPRUNE: INITED{{.*}}units: 2
|
|
|