fuzz: Add option to merge input dir to test runner #18300

pull MarcoFalke wants to merge 3 commits into bitcoin:master from MarcoFalke:Mf1902-fuzzMerge changing 2 files +37 −19
  1. MarcoFalke commented at 3:17 PM on March 9, 2020: member

    This is mainly useful for myself to merge pull requests like https://github.com/bitcoin-core/qa-assets/pull/4

    I thought it wouldn't hurt to share the code.

    Also remove the --disable-ccache from the docs to speed up builds when developing fuzzers.

  2. doc: Remove --disable-ccache from docs fa4fa88d76
  3. fuzz: Add option to merge input dir to test runner aaaa055ff7
  4. fanquake added the label Tests on Mar 9, 2020
  5. practicalswift commented at 5:28 PM on March 9, 2020: contributor

    Concept ACK

    Nice to have!

  6. MarcoFalke commented at 5:48 PM on March 9, 2020: member

    re-run ci

  7. MarcoFalke closed this on Mar 9, 2020

  8. MarcoFalke reopened this on Mar 9, 2020

  9. fuzz: Remove option --export_coverage from test_runner
    The coverage statistics are not stable across clang versions
    fa3fa27c45
  10. MarcoFalke closed this on Mar 11, 2020

  11. MarcoFalke reopened this on Mar 11, 2020

  12. DrahtBot commented at 5:45 PM on March 13, 2020: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #18342 (doc: Add fuzzing quickstart guides for libFuzzer and afl-fuzz by practicalswift)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  13. in test/fuzz/test_runner.py:140 in aaaa055ff7 outdated
     135 | @@ -121,6 +136,22 @@ def main():
     136 |      )
     137 |  
     138 |  
     139 | +def merge_inputs(*, corpus, test_list, build_dir, merge_dir):
     140 | +    logging.info("Merge the inputs in the passed dir into the seed_dir. Passed dir {}".format(merge_dir))
    


    sipa commented at 6:31 PM on March 13, 2020:

    This looks like leftover debugging.


    MarcoFalke commented at 6:38 PM on March 13, 2020:

    Merging is currently a manual operation, so I like the extra verbosity. Happy to remove if you have strong feelings about this.


    sipa commented at 7:02 PM on March 13, 2020:

    If it's intentional, no problem; It just seemed written strangely as a log message, so I wanted to make sure it wasn't a leftover.

  14. sipa commented at 6:34 PM on March 13, 2020: member

    Concept ACK

  15. MarcoFalke merged this on Mar 18, 2020
  16. MarcoFalke closed this on Mar 18, 2020

  17. MarcoFalke deleted the branch on Mar 18, 2020
  18. sidhujag referenced this in commit e951bb1270 on Mar 18, 2020
  19. deadalnix referenced this in commit e4b4c79490 on Nov 5, 2020
  20. sidhujag referenced this in commit 4b6caad829 on Nov 10, 2020
  21. random-zebra referenced this in commit 44b5327e61 on May 28, 2021
  22. kittywhiskers referenced this in commit db36f4efff on Aug 15, 2021
  23. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me