-
Notifications
You must be signed in to change notification settings - Fork 3k
Tools: Persist config errors until validation occurs #7277
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
Conversation
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.
Looks good to me 👍
/morph build |
@theotherjimmy This needs to pass Travis CI before we can start Jenkins CI. |
@cmonr That should do it. |
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.
Looks mostly good. Just have a question about a print statement.
tools/config/__init__.py
Outdated
@@ -795,14 +808,11 @@ def _process_config_and_overrides(self, data, params, unit_name, unit_kind): | |||
setattr(self.target, attribute, val) | |||
continue | |||
else: | |||
if "lib2.test" == name: | |||
print("HERE {}".format(unit_name)) |
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.
Is this suppose to be in here?
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.
IT's supposed to be "THERE", actually :D
7034a23
to
241b786
Compare
LGTM, but still needs to pass Travis. |
241b786
to
2a9923f
Compare
/morph build |
Build : SUCCESSBuild number : 2521 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2166 |
Test : FAILUREBuild number : 2283 |
/morph test |
Test : SUCCESSBuild number : 2284 |
Well this is annoying. Looks like this became dependent on changes going into 5.10: https://github.com/ARMmbed/mbed-os/pull/7133/files#diff-0f1a973b12e465163c3fe8f2d1f933c9R544 Re-tagging to 5.10 to get 5.9.3 PR functional. |
Description
As @geky pointed out in #5416, Configuration errors in
"not-bottom-level" library configurations, a library that's not part of
the last feature set added, do not show errors. This was because
processing new library configurations cleared errors. This PR removes
the clearing behavior.
Resolves #5416
Pull request type