]> git.ipfire.org Git - thirdparty/openssl.git/commit
Faster fuzz test: teach the fuzz test programs to handle directories
authorRichard Levitte <levitte@openssl.org>
Wed, 28 Mar 2018 13:46:28 +0000 (15:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Mar 2018 07:24:56 +0000 (09:24 +0200)
commit9d740909595546ebd34a845e6328cb60afa388b8
treeeb27afd1dfab10f4d4114c14acde9c88d106fffa
parent00701e5ea84861b74d9d624f21a6b3fcb12e8acd
Faster fuzz test: teach the fuzz test programs to handle directories

Instead of invoking the fuzz test programs once for every corpora
file, we invoke them once for each directory of corpora files.  This
dramatically reduces the number of program invikations, as well as the
time 99-test_fuzz.t takes to complete.

fuzz/test-corpus.c was enhanced to handle directories as well as
regular files.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5776)
fuzz/test-corpus.c
test/recipes/99-test_fuzz.t