tests: coredump: Extend matching patterns

Extend test matching patterns and fix cmake project name.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
This commit is contained in:
Dmitrii Golovanov 2023-11-06 21:42:21 +01:00 committed by Carles Cufí
parent 3a95c78545
commit c88a7b659b
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,6 @@
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hello_world)
project(debug_coredump)
target_sources(app PRIVATE src/main.c)

View file

@ -14,8 +14,11 @@ tests:
type: multi_line
regex:
- "Coredump: (.*)"
- ">>> ZEPHYR FATAL ERROR "
- "E: #CD:BEGIN#"
- "E: #CD:5([aA])45([0-9a-fA-F]+)"
- "E: #CD:41([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:END#"
- "k_sys_fatal_error_handler"