zephyr/samples/subsys/logging/syst/sample.yaml
Daniel Leung 77f832fde3 samples: logging/syst: expand to doing v1/v2 immediate/deferred
This expands the sample to do both v1 and v2, and both immediate
and deferred modes for each logging verion. This is to make sure
MIPI Sys-T output is not broken for all combinations. Default is
v2/immediate using prj.conf. Deferred mode is enabled via
overlay.

Also add qemu_x86 as an allowed platform as the samples are
working there too.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-02-04 11:14:55 +01:00

42 lines
1.1 KiB
YAML

sample:
name: syst sample
tests:
sample.logger.syst.v1.deferred:
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
platform_allow: mps2_an385 qemu_x86 sam_e70_xplained
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG1=y
sample.logger.syst.v1.immediate:
platform_allow: mps2_an385 qemu_x86 sam_e70_xplained
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
extra_configs:
- CONFIG_LOG1=y
sample.logger.syst.v2.deferred:
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
platform_allow: mps2_an385 qemu_x86 sam_e70_xplained
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "
sample.logger.syst.v2.immediate:
platform_allow: mps2_an385 qemu_x86 sam_e70_xplained
tags: logging
harness: console
harness_config:
type: one_line
regex:
- "SYS-T RAW DATA: "