zephyr/samples/modules/chre/sample.yaml
Anas Nashif 2d97bdd85d samples: add module requirement into samples
Do not build those samples if the needed modules are not available in
the workspace.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-04-19 09:38:55 -04:00

26 lines
808 B
YAML

sample:
description: A simple echo app using Android's Context Hub Runtime
Environment (CHRE).
name: chre
tests:
sample.modules.chre:
tags: introduction
modules:
- chre
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Hello CHRE!"
- "\\[.*\\] .*<inf> chre: EventLoop start.*"
- "\\[.*\\] .*<dbg> chre: startNanoapp: Instance ID 1 assigned to app ID 0x0000000000000001.*"
- "EchoApp::nanoappStart\\(\\)"
- "EchoApp::nanoappHandleEvent\\(sender_instance_id=0, event_type=1, event_data@\\(nil\\)\\)"
- "Event \\(1\\) complete!"
- "EchoApp::nanoappEnd\\(\\)"
- "\\[.*\\] .*<inf> chre: Exiting EventLoop.*"
integration_platforms:
- native_posix
filter: not CONFIG_MINIMAL_LIBC