-
Notifications
You must be signed in to change notification settings - Fork 7.4k
tests: drivers: console: Skip semihosting console device testing #25195
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
tests: drivers: console: Skip semihosting console device testing #25195
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that
build_only: true
does not prevent the test from running on
the QEMU targets.
build_only is for all, so it will never run on qemu. Maybe:
filter: CONFIG_CPU_CORTEX_M and CONFIG_QEMU_TARGET
I did |
filter works fine for me:
|
The semihosting console test (`drivers.console.semihost`) is currently only supported on the ARM Cortex-M QEMU targets. While running this test on real hardware targets is possible, there is no standardised way for sanitycheck to validate its output, so we filter by `CONFIG_QEMU_TARGET` to skip running it on non-QEMU targets (including physical hardware targets with `--device-testing`). Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2579325
to
e834234
Compare
The semihosting console test (
drivers.console.semihost
) is currentlyonly supported on the ARM Cortex-M QEMU targets.
While running this test on real hardware targets is possible, there is
no standardised way for sanitycheck to validate its output, so we
filter by
CONFIG_QEMU_TARGET
to skip running it on non-QEMU targets(including physical hardware targets with
--device-testing
).Signed-off-by: Stephanos Ioannidis root@stephanos.io
Fixes #25191