Skip to content

[tools] Fixed infinite loop in config scan due to list comparison error #2317

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

Merged
merged 2 commits into from
Aug 2, 2016

Conversation

geky
Copy link
Contributor

@geky geky commented Jul 29, 2016

Fixed infinite loop in config scan due to list comparison error.

Previously a scanning for config terminated on comparison of the feature set, however at some point the set was changed to a list. This resulted in non-deterministic failures based on list order.

Added a test specifically for the uvisor feature_add, which revealed the issue.

fixes #2312
cc @AlessandroA

geky added 2 commits July 29, 2016 12:20
Previously a scanning for config terminated on comparison of the feature
set, however at some point the set was changed to a list. This resulted
in non-deterministic failures based on list order.
Unlike other libraries, uvisor is currently integrated into the build
system, with special cases based on its addition as a feature. This
suggests we should also have tests for these special cases.
@sg-
Copy link
Contributor

sg- commented Jul 29, 2016

/morph test

@screamerbg
Copy link
Contributor

Great! LGTM

@bridadan
Copy link
Contributor

bridadan commented Aug 1, 2016

Build and test were all green! LGTM

@AlessandroA
Copy link
Contributor

Thanks for the fix! I can confirm that this fixes #2312. 👍

@bridadan
Copy link
Contributor

bridadan commented Aug 2, 2016

BTW, not sure why the commit status wasn't set for ci/mbedci-test, but the build and test was all green 👍

@geky
Copy link
Contributor Author

geky commented Aug 2, 2016

Ok then, LGTM?

@screamerbg
Copy link
Contributor

LGTM

@sg- sg- merged commit 76ea1cc into ARMmbed:master Aug 2, 2016
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.

[tools] Never-ending config_and_overrides scan
5 participants