-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[WIP] tests/test_tools: add a test for the testing tools environment #11094
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
[WIP] tests/test_tools: add a test for the testing tools environment #11094
Conversation
There is no need to currently review this, but it should be used as a base for testing a fix for |
ca9376e
to
828499e
Compare
828499e
to
1826c53
Compare
Check the interaction with a board through make term. It is using a shell without echo or prompt for reference. It currently checks that there is no local echo.
Get the output of a one line command without other garbage messages.
I know this does not work for boards that overwrite 'TERMFLAGS', it is not a fix, just a hack to show what is expected.
1826c53
to
a998291
Compare
Could still be valuable. Anyone willing to pick up @cladmi's work? @leandrolanzieri @fjmolinas @aabadie? |
I think everything is already in https://github.com/RIOT-OS/RIOT/blob/master/tests/test_tools/tests/01-run.py. The tests were merged along the bug fixes. The "increment" from here was replaced by an "uppercase" as there were issues with matching numbers in pyterm output, but the check is the same. |
Contribution description
Check the interaction with a board through make term.
It is using a shell without echo or prompt for reference.
It currently checks:
Warning
This is currently not ready for merging as it is waiting for a fix on
make term
.But it should show the issue. I removed the test from #10952 so made this pull request for tracking the issue.
Testing procedure
Testing on all the different environments.
There is currently a HACK for
picocom
andpyterm
which should be correctly fixed.Issues/PRs references
Test split out of #10952 and depending on it.
Found while writing tests in #10949
Depends on : "adding make rawterm"