-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dist/tools/build_system_sanity_check: BUG fix errors being ignored #11695
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
dist/tools/build_system_sanity_check: BUG fix errors being ignored #11695
Conversation
On error messages the exit code was still 0 due to the typo. Having error messages again properly return with an exit code of 1.
The error is correctly detected with the test commit. https://travis-ci.org/RIOT-OS/RIOT/builds/545647185#L444
|
fcdd2f3
to
b744ba7
Compare
D'oh! sorry, I screwed up. It was missing the "needs squash" label. |
The function was always failing but was hidden by the previous bug too.
And another BUG. I should have listened to me when I said, this should go in a separate PR and not piggyback it to the main one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the test procedure and it works.
Thank you. I will be more careful next time. |
Contribution description
On error messages the exit code was still 0 due to the typo.
Having error messages again properly return with an exit code of 1.
Fix
error_on_input
that was always returning an error too.Testing procedure
With the test commit the static tests will fail (now
CI: needs squashing
is set).Revert the revert commit
be1551c18
and run the script, it will exit with a '1' exit code. In the current master it would return 0.Issues/PRs references
Bug introduced by #11672 which led to having this test commit merged https://github.com/RIOT-OS/RIOT/pull/11694/files