glibc and newlib print "(nil)" for NULL pointers while picolibc just prints "0". Allow either by replacing the exact "(nil)" match with ".*" instead Signed-off-by: Keith Packard <keithp@keithp.com>
28 lines
804 B
YAML
28 lines
804 B
YAML
sample:
|
|
description: A simple echo app using Android's Context Hub Runtime
|
|
Environment (CHRE).
|
|
name: chre
|
|
tests:
|
|
sample.modules.chre:
|
|
tags: introduction chre
|
|
platform_exclude: qemu_leon3
|
|
modules:
|
|
- chre
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: false
|
|
regex:
|
|
- "Hello CHRE!"
|
|
- "I: EventLoop start.*"
|
|
- "D: Instance ID 1 assigned to app ID 0x0000000000000001.*"
|
|
- "EchoApp::nanoappStart\\(\\)"
|
|
- "EchoApp::nanoappHandleEvent\\(sender_instance_id=0, event_type=1,
|
|
event_data@(\\(nil\\))|0\\)"
|
|
- "Event \\(1\\) complete!"
|
|
- "EchoApp::nanoappEnd\\(\\)"
|
|
- "I: Exiting EventLoop.*"
|
|
integration_platforms:
|
|
- native_posix
|
|
filter: not CONFIG_MINIMAL_LIBC
|