blob: 90348385485ff9114faf4b3721efd62d3d9602ae [file] [log] [blame]
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."
arch_exclude: posix xtensa
platform_exclude: qemu_leon3
tags: zbus
sample.zbus.hello_world_no_iterable_sections:
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "I: Sensor sample started raw reading, version 0.1-2!"
- "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."
arch_allow: posix xtensa
tags: zbus