Skip to content

Conversation

maribu
Copy link
Member

@maribu maribu commented May 10, 2025

Contribution description

At least on the samr21-xpro used for hardware in the loop testing, the terminal did not attach in time after the reset to capture all of the output.

This adds the test_utils_interactive_sync module to wait for an s to be received via stdio before starting to print to sync with the test scripting.

Testing procedure

Test in the CI should pass now.

Issues/PRs references

None

At least on the samr21-xpro used for hardware in the loop testing, the
terminal did not attach in time after the reset to capture all of the
output.

This adds the `test_utils_interactive_sync` module to wait for an `s`
to be received via `stdio` before starting to print to sync with the
test scripting.
@maribu maribu requested a review from mguetschow May 10, 2025 13:51
@maribu maribu added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR labels May 10, 2025
@github-actions github-actions bot added the Area: examples Area: Example Applications label May 10, 2025
@riot-ci
Copy link

riot-ci commented May 10, 2025

Murdock results

✔️ PASSED

f36a384 examples/basic/subfolders: fix test

Success Failures Total Runtime
25 0 25 02m:00s

Artifacts

@maribu maribu enabled auto-merge May 10, 2025 13:54
@crasbe crasbe added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label May 10, 2025
@maribu maribu added this pull request to the merge queue May 10, 2025
Merged via the queue into RIOT-OS:master with commit e0a6628 May 10, 2025
29 checks passed
@maribu maribu deleted the examples/basic/subfolders/sync-test branch May 10, 2025 18:11
@maribu
Copy link
Member Author

maribu commented May 10, 2025

Thx :)

@mguetschow
Copy link
Contributor

Thank you for the fixup!

@Teufelchen1 Teufelchen1 added this to the Release 2025.07 milestone Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: examples Area: Example Applications CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants