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

Test runner should exit with non-zero code if command line flags can't be parsed #843

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

jhump
Copy link
Member

@jhump jhump commented Apr 3, 2024

Oops. I happened to notice, when updating another place to use these conformance tests, that a typo in the flags doesn't result in a non-zero exit code. So if a mistake were made in a CI invocation, it would just keep going and ignore the error. Doh!

@jhump jhump changed the title Don't exit with a zero code if cmd-line flags can't be parsed Test runner should exit with non-zero code if command line flags can't be parsed Apr 3, 2024
@jhump jhump enabled auto-merge (squash) April 3, 2024 19:11
@jhump jhump merged commit f17da9b into main Apr 3, 2024
6 of 7 checks passed
@jhump jhump deleted the jh/exit-non-zero-on-flag-parse-fail branch April 3, 2024 19:46
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

Successfully merging this pull request may close these issues.

2 participants