zephyr/tests/drivers/console/testcase.yaml
Stephanos Ioannidis 4b37e6cd36 tests: drivers: console: Skip semihosting console device testing
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>
2020-05-11 17:11:35 +02:00

18 lines
413 B
YAML

common:
tags: drivers console
harness: console
harness_config:
type: one_line
regex:
- "Hello World from Console"
tests:
drivers.console.uart:
tags: drivers console
filter: CONFIG_UART_CONSOLE
drivers.console.semihost:
tags: drivers console
arch_whitelist: arm
filter: CONFIG_CPU_CORTEX_M and CONFIG_QEMU_TARGET
extra_args: CONF_FILE=prj_semihost.conf