zephyr/tests/subsys/logging/log_switch_format/testcase.yaml
Aastha Grover d81b3d7425 tests/subsys/logging/log_switch_format: fix incomplete logs
log_Switch_format test has incomplete handler logs on frdm_k64f
and also a false positive for logging.log_switch_format.immediate
testcase due to harness console which does not wait for
completion of ztest testcases to indicate pass/fail status to twister.

Fixes #46368

Signed-off-by: Aastha Grover <aastha.grover@intel.com>
2022-06-23 09:15:39 +02:00

41 lines
1.0 KiB
YAML

common:
tags: logging mipi-sys-t
modules:
- mipi-sys-t
arch_exclude: mips nios2 posix sparc
filter: not CONFIG_64BIT
tests:
logging.log_switch_format.deferred:
integration_platforms:
- mps2_an385
- qemu_x86
- sam_e70_xplained
- qemu_cortex_a53
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
harness: console
harness_config:
type: multi_line
regex:
- "SYS-T RAW DATA: "
- "<err>"
- "hello sys-t on board"
- "SYS-T RAW DATA: "
- "SYST Sample Execution Completed"
logging.log_switch_format.immediate:
extra_args: OVERLAY_CONFIG=overlay_immediate.conf
integration_platforms:
- mps2_an385
- qemu_x86
- sam_e70_xplained
- qemu_cortex_a53
harness: console
harness_config:
type: multi_line
regex:
- "SYS-T RAW DATA: "
- "<err>"
- "hello sys-t on board"
- "SYS-T RAW DATA: "
- "SYST Sample Execution Completed"
- "PROJECT EXECUTION SUCCESSFUL"