zephyr/samples/subsys/zbus/hello_world/sample.yaml

33 lines
1.1 KiB
YAML

sample:
name: Hello World
tests:
sample.zbus.hello_world:
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "I: Sensor sample started raw reading, version 0.1-2!"
- "I: Channel list:"
- "I: 0 - Channel acc_data_chan:"
- "I: Message size: 12"
- "I: Observers:"
- "I: - foo_lis"
- "I: - bar_sub"
- "I: 1 - Channel simple_chan:"
- "I: 2 - Channel version_chan:"
- "I: Message size: 4"
- "I: Observers list:"
- "I: 0 - Subscriber bar_sub"
- "I: 1 - Listener foo_lis"
- "I: From subscriber -> Acc x=1, y=1, z=1"
- "I: From listener -> Acc x=1, y=1, z=1"
- "I: From subscriber -> Acc x=2, y=2, z=2"
- "I: From listener -> Acc x=2, y=2, z=2"
- "I: Pub a valid value to a channel with validator successfully."
- "I: Pub an invalid value to a channel with validator successfully."
platform_exclude: qemu_leon3
tags: zbus
integration_platforms:
- qemu_x86