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 08:57:51 +0000 (10:57 +0200)
commit0bdcf53fec5245bfc9ce27e438f4f5150f2c1d08
tree475f191c370cbfc52b45a0f457a2031538455ca8
parent7ee2a43069913fb7c444c656048996ea92cc465e
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 invokations, as well as the
time 90-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>
(Merged from https://github.com/openssl/openssl/pull/5788)
fuzz/test-corpus.c
test/recipes/90-test_fuzz.t