Merged
Conversation
TERMPROG and TERMFLAGS variables do not need to be exported as they are used directly by a make receipe. Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
TERMPROG and TERMFLAGS variables do not need to be exported as they are used directly by a make receipe. Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
TERMPROG and TERMFLAGS variables do not need to be exported as they are used directly by a make receipe.
Contributor
Author
|
Please tell me if you see other testing procedure I missed. |
19 tasks
Contributor
|
@aabadie, you added the boards/nz32-sc151, but it looks kind of broken in the way it sets TERMFLAGS (it won't work if one changes RIOT_TERMINAL). |
2 tasks
Contributor
Author
|
I am doing a pull request for the |
jcarrano
approved these changes
Feb 25, 2019
Contributor
jcarrano
left a comment
There was a problem hiding this comment.
Tested make term in samr21. It still works. Also, the exports were clearly unnecessary.
Contributor
Author
|
Thank you for the review. |
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
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
Other uses to unexport:
There is one remaining usage of
export TERMFLAGSbut it should be handled alone as it does not make sense as it does not handleRIOT_TERMINAL. I will add it to the tracking issue.Testing procedure
Review
We can see that there are not usages in other places than recipes that are declared in
Makefile.include:There are no more exports of
TERMFLAGSorTERMPROGexcept the one already mentioned earlier:Testing
make termIt is still working for both native and boards. You can try
The
term-gproffor native is not working both in master and with this PR.Overwriting
RIOT_TERMINALin testrunner:The usage within
make testcan be checked with this diff.With it, running a test on a board should use
socatIssues/PRs references
Tracking issue #10850
Was an effective issue while working on #10952