ci/build_system_check: improve check for features only provided in Makefile.features#14511
Merged
fjmolinas merged 1 commit intoRIOT-OS:masterfrom Jul 20, 2020
Conversation
Contributor
|
Is there any reason for features to be provided by something else than |
Contributor
Author
Apparently, there's still the question about modules that could provide features. I noticed something of this kind was merged into master for rtt_rtc: Line 672 in 60def88 This PR adds a check to prevent that. |
Contributor
|
Discussed offline with @aabadie, I had an issue with the change since currently |
…e.features - Take into account potential spaces at the beginning of a line - Check all Makefile.<something> files, not only the ones in boards and cpus
7c0b19d to
b7f2ad8
Compare
Contributor
Author
|
rebased now that #14497 is merged. It should pass the CI now. |
Contributor
Author
|
ping @fjmolinas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR improves the build system sanity checks to be able to detect the use of
FEATURES_PROVIDEDin files other than Makefile.features: it nows checks for path other than only cpu/boards and it take into account potential spaces at the beginning of lines where it is used.This allows for catching things like:
RIOT/drivers/Makefile.dep
Line 672 in 60def88
Testing procedure
Details
results in:
results in:
Issues/PRs references
Will work when #14497 is merged