##// END OF EJS Templates
test-fuzz-targets: look for clang-6.0 binary as well...
test-fuzz-targets: look for clang-6.0 binary as well Debian sid is still shipped with clang 4.0 by default. This allows me to run the test without replacing the system clang to clang-6.0.

File last commit:

r38238:a6347ae6 default
r38238:a6347ae6 default
Show More
test-fuzz-targets.t
17 lines | 379 B | text/troff | Tads3Lexer
#require test-repo
$ cd $TESTDIR/../contrib/fuzz
#if clang-libfuzzer
$ make -s clean all
#endif
#if no-clang-libfuzzer clang-6.0
$ make -s clean all CC=clang-6.0 CXX=clang++-6.0
#endif
#if no-clang-libfuzzer no-clang-6.0
$ exit 80
#endif
Just run the fuzzers for five seconds each to verify it works at all.
$ ./bdiff -max_total_time 5
$ ./xdiff -max_total_time 5