view tests/test-fuzz-targets.t @ 35991:04304b779df1

tests: raise a better error when patterns are wrongly formatted It is fairly easy to make mistakes when merging conflict in the pattern file. A common mistake is to forget adding an extra trailing comma changing the length of the tuple. We now detect such error and raise a better error message that helps to find it.
author Boris Feld <boris.feld@octobus.net>
date Fri, 09 Feb 2018 12:48:12 +0100
parents 2b9e2415f5b5
children 24cc2969abae
line wrap: on
line source

#require clang-libfuzzer test-repo
  $ cd $TESTDIR/../contrib/fuzz
  $ make
Just run the fuzzer for five seconds to verify it works at all.
  $ ./bdiff -max_total_time 5