zephyr/samples/subsys/bindesc/hello_bindesc/sample.yaml
Alberto Escolar Piedras b2a84eaf12 samples bindesc: Add runtime test and change default to native_sim
* In the docs replace references to native_posix with native_sim
* Switch the default test platform to native_sim from native_posix
* Add a runtime check for this sample

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 12:02:48 +01:00

21 lines
480 B
YAML

sample:
name: Hello Bindesc
tests:
sample.bindesc:
tags: bindesc
filter: CONFIG_ARCH_SUPPORTS_ROM_START or CONFIG_ARCH_POSIX
integration_platforms:
- native_sim
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "Zephyr version: "
- "App version: 1.0.0"
- "Build time: "
- "Compiler: "
- "my_string: Hello world!"
- "my_int: 5"
- "my_bytes: 01 02 03 04"