mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
Remove original qpdf fuzz seed corpus from tests
Since the introduction of fuzz testing, there has never been a problem found because of a failure of a file in the fuzzer seed corpus. As the fuzzer has found problems, they have been added to the test suite, and that should be adequate to exercise the fuzzers in the tesing environment as well as providing adequate regression testing. Removing these original files shaves many minutes off the builds in CI.
This commit is contained in:
parent
4024953682
commit
e4ef3d1540
@ -85,9 +85,8 @@ $(foreach F,$(CORPUS_EXTRA),$(eval \
|
||||
mkdir -p $(CORPUS_DIR); \
|
||||
cp $(F) $(CORPUS_DIR)/$(SHA1_$(notdir $(F)))))
|
||||
|
||||
fuzz/$(OUTPUT_DIR)/fuzz_corpus.stamp: fuzz/original-corpus.tar.gz $(CORPUS_EXTRA)
|
||||
fuzz/$(OUTPUT_DIR)/fuzz_corpus.stamp: $(CORPUS_EXTRA)
|
||||
mkdir -p $(CORPUS_DIR)
|
||||
(cd $(CORPUS_DIR); tar xzf ../../original-corpus.tar.gz)
|
||||
touch $@
|
||||
|
||||
$(foreach B,$(FUZZERS),$(eval \
|
||||
|
Binary file not shown.
@ -12,11 +12,7 @@ my $td = new TestDriver('fuzz');
|
||||
my $qpdf_n_test_files = 31;
|
||||
my @extra = glob("../qpdf_extra/*.fuzz");
|
||||
my $qpdf_n_extra_files = scalar(@extra);
|
||||
my $qpdf_n_orig_files = 2557;
|
||||
my $qpdf_n_files = ($qpdf_n_test_files +
|
||||
$qpdf_n_extra_files +
|
||||
$qpdf_n_orig_files);
|
||||
|
||||
my $qpdf_n_files = ($qpdf_n_test_files + $qpdf_n_extra_files);
|
||||
|
||||
my @fuzzers = (
|
||||
['ascii85' => 1],
|
||||
|
Loading…
Reference in New Issue
Block a user