Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented May 16, 2023

Some trivial UX improvements.

  • Change the exit code for PRINT_ALL_FUZZ_TARGETS_AND_ABORT and WRITE_ALL_FUZZ_TARGETS_AND_ABORT to EXIT_SUCCESS instead of Aborted (core dumped).
  • Print readable error message when FUZZ is missing instead of Aborted (core dumped).
  • Clarify that a fuzz target needs to be compiled into the executable.

@DrahtBot
Copy link
Contributor

DrahtBot commented May 16, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK dergoegge

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label May 16, 2023
@maflcko
Copy link
Member Author

maflcko commented May 16, 2023

(Also contains some no-op code to allow for easier hacking)

@fanquake fanquake requested a review from dergoegge May 16, 2023 12:16
@maflcko maflcko force-pushed the 2305-fuzz-log-FUZZ- branch 2 times, most recently from faa4ef8 to fac8058 Compare May 17, 2023 12:25
Copy link
Member

@dergoegge dergoegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

@maflcko maflcko force-pushed the 2305-fuzz-log-FUZZ- branch from fac8058 to fa32aa5 Compare May 18, 2023 10:19
MarcoFalke added 2 commits May 22, 2023 10:02
This documents the state in the CI output and may help debugging in case
of failure.
@maflcko maflcko force-pushed the 2305-fuzz-log-FUZZ- branch from fa32aa5 to fa1b3ab Compare May 22, 2023 08:04
@maflcko
Copy link
Member Author

maflcko commented May 22, 2023

Added a commit to also improve fuzz logging in the CI system: https://cirrus-ci.com/task/4987695903014912?logs=ci#L222

@dergoegge
Copy link
Member

ACK fa1b3ab

@fanquake fanquake merged commit 4567014 into bitcoin:master May 22, 2023
@maflcko maflcko deleted the 2305-fuzz-log-FUZZ- branch May 22, 2023 11:56
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request May 23, 2023
fa1b3ab ci: Log qa-assets repo last commit (MarcoFalke)
fa22966 fuzz: Print error message when FUZZ is missing (MarcoFalke)

Pull request description:

  Some trivial UX improvements.

  * Change the exit code for `PRINT_ALL_FUZZ_TARGETS_AND_ABORT` and `WRITE_ALL_FUZZ_TARGETS_AND_ABORT` to `EXIT_SUCCESS` instead of `Aborted (core dumped)`.
  * Print readable error message when `FUZZ` is missing instead of `Aborted (core dumped)`.
  * Clarify that a fuzz target needs to be compiled into the executable.

ACKs for top commit:
  dergoegge:
    ACK fa1b3ab

Tree-SHA512: 065ef8920449c64b3516f89a61cb397b505eccf531318c4f3830895d5ff6cd7ae2525cb857320481e3d0ed0b2f8a522cd8f7835e69f021241b6ec297a6102fc8
@bitcoin bitcoin locked and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants