1# Copyright Meta Platforms, Inc. and its affiliates.
2# SPDX-License-Identifier: Apache-2.0
3
4common:
5  tags:
6    - coredump
7  ignore_faults: true
8  ignore_qemu_crash: true
9  integration_platforms:
10    - qemu_cortex_m3
11tests:
12  debug.coredump.threads:
13    filter: CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_THREADS
14    harness: console
15    harness_config:
16      type: multi_line
17      # Verify core dump contains threads metadata section and several
18      # memory sections, two for each thread
19      regex:
20        - "E: #CD:BEGIN#"
21        - "E: #CD:5([aA])45([0-9a-fA-F]+)"
22        - "E: #CD:41([0-9a-fA-F]+)"
23        - "E: #CD:54([0-9a-fA-F]+)"
24        - "E: #CD:4([dD])([0-9a-fA-F]+)"
25        - "E: #CD:4([dD])([0-9a-fA-F]+)"
26        - "E: #CD:4([dD])([0-9a-fA-F]+)"
27        - "E: #CD:4([dD])([0-9a-fA-F]+)"
28        - "E: #CD:4([dD])([0-9a-fA-F]+)"
29        - "E: #CD:4([dD])([0-9a-fA-F]+)"
30        - "E: #CD:4([dD])([0-9a-fA-F]+)"
31        - "E: #CD:4([dD])([0-9a-fA-F]+)"
32        - "E: #CD:4([dD])([0-9a-fA-F]+)"
33        - "E: #CD:4([dD])([0-9a-fA-F]+)"
34        - "E: #CD:END#"
35