Skip to content

Commit bf384bf

Browse files
keith-packardlaurenmurphyx64
authored andcommitted
samples/modules/chre: Support picolibc %p for NULL pointers
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 <[email protected]>
1 parent b727446 commit bf384bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/modules/chre/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tests:
1818
- "D: Instance ID 1 assigned to app ID 0x0000000000000001.*"
1919
- "EchoApp::nanoappStart\\(\\)"
2020
- "EchoApp::nanoappHandleEvent\\(sender_instance_id=0, event_type=1,
21-
event_data@\\(nil\\)\\)"
21+
event_data@(\\(nil\\))|0\\)"
2222
- "Event \\(1\\) complete!"
2323
- "EchoApp::nanoappEnd\\(\\)"
2424
- "I: Exiting EventLoop.*"

0 commit comments

Comments
 (0)