| 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 |