Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for failing cases to be printed to stderr #383

Open
mitchgrout opened this issue Oct 10, 2023 · 0 comments
Open

Allow for failing cases to be printed to stderr #383

mitchgrout opened this issue Oct 10, 2023 · 0 comments

Comments

@mitchgrout
Copy link

Currently all of the content is printed to stdout, including the final list of failing cases. This causes some issues with other tooling like meson, in which we might want to run lizard as a build target, like...

custom_target('lizard', command: ..., capture: true)

If we have any failures, lizard will exit with a non-zero code, which meson then uses to break the build. meson will then print out the stderr contents to help the user diagnose what went wrong, but in this case that's empty. It would be convenient to pass in an option which causes the final failures summary to be printed to stderr instead, so that cases like the above would integrate nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant