##// END OF EJS Templates
exchange: move disabling of rev-branch-cache bundle part out of narrow...
exchange: move disabling of rev-branch-cache bundle part out of narrow I'm attempting to refactor changegroup code in order to better support alternate storage backends. The narrow extension is performing a lot of monkeypatching to this code and it is making it difficult to reason about how everything works. I'm reasonably certain I would be unable to abstract storage without requiring extensive rework of narrow. I believe it is less effort to move narrow code into core so it can be accounted for when changegroup code is refactored. So I'll be doing that. The first part of this is integrating the disabling of the cache:rev-branch-cache bundle2 part into core. This doesn't seem like it is related to changegroup, but narrow's modifications to changegroup are invasive and also require taking its code for bundle generation and exchange into core in order for the changegroup code to work. Differential Revision: https://phab.mercurial-scm.org/D4007

File last commit:

r38264:46dcb9f1 default
r38813:ab765bc4 default
Show More
test-fuzz-targets.t
18 lines | 410 B | text/troff | Tads3Lexer
/ tests / test-fuzz-targets.t
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238 #require test-repo
Augie Fackler
contrib: add some basic scaffolding for some fuzz test targets...
r35688 $ cd $TESTDIR/../contrib/fuzz
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238
#if clang-libfuzzer
Yuya Nishihara
test-fuzz-targets: rebuild executable silently...
r38237 $ make -s clean all
Yuya Nishihara
test-fuzz-targets: look for clang-6.0 binary as well...
r38238 #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
Augie Fackler
tests: update fuzzer tests to include both fuzzers...
r38190 Just run the fuzzers for five seconds each to verify it works at all.
Augie Fackler
contrib: add some basic scaffolding for some fuzz test targets...
r35688 $ ./bdiff -max_total_time 5
Augie Fackler
fuzz: new fuzzer for the mpatch code...
r38264 $ ./mpatch -max_total_time 5
Augie Fackler
tests: update fuzzer tests to include both fuzzers...
r38190 $ ./xdiff -max_total_time 5