Commit e4ef3d15407a78e261b0a36bf79c89ac7f2a7233
1 parent
40249536
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.
Showing
3 changed files
with
2 additions
and
7 deletions
fuzz/build.mk
| ... | ... | @@ -85,9 +85,8 @@ $(foreach F,$(CORPUS_EXTRA),$(eval \ |
| 85 | 85 | mkdir -p $(CORPUS_DIR); \ |
| 86 | 86 | cp $(F) $(CORPUS_DIR)/$(SHA1_$(notdir $(F))))) |
| 87 | 87 | |
| 88 | -fuzz/$(OUTPUT_DIR)/fuzz_corpus.stamp: fuzz/original-corpus.tar.gz $(CORPUS_EXTRA) | |
| 88 | +fuzz/$(OUTPUT_DIR)/fuzz_corpus.stamp: $(CORPUS_EXTRA) | |
| 89 | 89 | mkdir -p $(CORPUS_DIR) |
| 90 | - (cd $(CORPUS_DIR); tar xzf ../../original-corpus.tar.gz) | |
| 91 | 90 | touch $@ |
| 92 | 91 | |
| 93 | 92 | $(foreach B,$(FUZZERS),$(eval \ | ... | ... |
fuzz/original-corpus.tar.gz deleted
No preview for this file type
fuzz/qtest/fuzz.test
| ... | ... | @@ -12,11 +12,7 @@ my $td = new TestDriver('fuzz'); |
| 12 | 12 | my $qpdf_n_test_files = 31; |
| 13 | 13 | my @extra = glob("../qpdf_extra/*.fuzz"); |
| 14 | 14 | my $qpdf_n_extra_files = scalar(@extra); |
| 15 | -my $qpdf_n_orig_files = 2557; | |
| 16 | -my $qpdf_n_files = ($qpdf_n_test_files + | |
| 17 | - $qpdf_n_extra_files + | |
| 18 | - $qpdf_n_orig_files); | |
| 19 | - | |
| 15 | +my $qpdf_n_files = ($qpdf_n_test_files + $qpdf_n_extra_files); | |
| 20 | 16 | |
| 21 | 17 | my @fuzzers = ( |
| 22 | 18 | ['ascii85' => 1], | ... | ... |