Show More
@@ -709,6 +709,10 b' def has_clang_libfuzzer():' | |||||
709 | return int(mat.group(1)) > 5 |
|
709 | return int(mat.group(1)) > 5 | |
710 | return False |
|
710 | return False | |
711 |
|
711 | |||
|
712 | @check("clang-6.0", "clang 6.0 with version suffix (libfuzzer included)") | |||
|
713 | def has_clang60(): | |||
|
714 | return matchoutput('clang-6.0 --version', b'clang version 6\.') | |||
|
715 | ||||
712 | @check("xdiff", "xdiff algorithm") |
|
716 | @check("xdiff", "xdiff algorithm") | |
713 | def has_xdiff(): |
|
717 | def has_xdiff(): | |
714 | try: |
|
718 | try: |
@@ -1,6 +1,17 b'' | |||||
1 |
#require |
|
1 | #require test-repo | |
|
2 | ||||
2 | $ cd $TESTDIR/../contrib/fuzz |
|
3 | $ cd $TESTDIR/../contrib/fuzz | |
|
4 | ||||
|
5 | #if clang-libfuzzer | |||
3 | $ make -s clean all |
|
6 | $ make -s clean all | |
|
7 | #endif | |||
|
8 | #if no-clang-libfuzzer clang-6.0 | |||
|
9 | $ make -s clean all CC=clang-6.0 CXX=clang++-6.0 | |||
|
10 | #endif | |||
|
11 | #if no-clang-libfuzzer no-clang-6.0 | |||
|
12 | $ exit 80 | |||
|
13 | #endif | |||
|
14 | ||||
4 | Just run the fuzzers for five seconds each to verify it works at all. |
|
15 | Just run the fuzzers for five seconds each to verify it works at all. | |
5 | $ ./bdiff -max_total_time 5 |
|
16 | $ ./bdiff -max_total_time 5 | |
6 | $ ./xdiff -max_total_time 5 |
|
17 | $ ./xdiff -max_total_time 5 |
General Comments 0
You need to be logged in to leave comments.
Login now