tests: adapt tests so they can use tests_utils_interactive_sync#12867
tests: adapt tests so they can use tests_utils_interactive_sync#12867miri64 merged 4 commits intoRIOT-OS:masterfrom
tests_utils_interactive_sync#12867Conversation
|
@miri64 please let me know how you feel about the |
miri64
left a comment
There was a problem hiding this comment.
Some more issues I figured not related to gnrc_ipv6_ext_frag:
|
Looks good but I just have one question: why not also removed the reset before term in this PR ? IIUC, everything is in the place in the tests and it shouldn't too much change in testrunner. And this way, no need to provide this in a follow-up PR. @miri64, I think your comments are addressed, so are you ok with the current state ? |
tests_utils_interactive_sync
I'm guessing you mean reset after term? Anyway, they entail different kind of testing, and this are quite independent. |
Using the shell to run unittests allows not needing to wait for a string at the start of the test which makes the test independent having the application reset after the terminal is open. The same goes for triggering sending UDP test pkts.
Using the shell to run unittests allows not needing to wait for a string at the start of the test which makes the test independent having the application reset after the terminal is open.
miri64
left a comment
There was a problem hiding this comment.
All comments were addressed. Please squash
9021caa to
341a4b5
Compare
|
All green! |
|
@kaspar030 I'm suspecting this PR might have broke the |
Discussed offline: the shell test doesn't sync at the prompt at the beginning. We think that this was flakey on esp32 all the time, unrelated to this PR.
That's actually an issue, there seems to be a race when both labels are set at the same time. "CI:run-tests" needs to be set before "CI: ready to build". |
Contribution description
This PR removes the need to reset after
cleantermfrom the remaining tests that where not usingtests_utils_interactive_sync. For some of them it was just a matter of removingDISABLE_MODULE+=tests_utils_interactive_syncTwo of them had to me modified a little more:
-
tests/gnrc_rpl_srh-
tests/gnrc_ipv6_ext_fraguses a different sync method.tests/stdinis missing but should be fixed in #12816Testing procedure
All tests ares still working:
sudo make -C tests/gnrc_ipv6_ext_frag/ testsudo make -C tests/gnrc_ipv6_ext/ test --no-print-directorysudo make -C tests/gnrc_rpl_srh/ test --no-print-directorysudo make -C tests/gnrc_tcp/ test --no-print-directoryDetails
make -C tests/shell/ --no-print-directory testDetails
sudo make -C tests/gnrc_sock_dns/ test --no-print-directoryIssues/PRs references
Part of #12448.
Related to #12862.