zephyr/tests/subsys/debug/coredump_threads/testcase.yaml
Mark Holden c35f6d1cac coredump: Add test for threads core dump config
Add z_test which uses new configs to capture multiple
threads in a core dump and with all of the context
necessary to debug the threads.

Signed-off-by: Mark Holden <mholden@meta.com>
2024-08-02 03:32:09 -04:00

35 lines
1.0 KiB
YAML

# Copyright Meta Platforms, Inc. and its affiliates.
# SPDX-License-Identifier: Apache-2.0
common:
tags:
- coredump
ignore_faults: true
ignore_qemu_crash: true
integration_platforms:
- qemu_cortex_m3
tests:
debug.coredump.threads:
filter: CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_THREADS
harness: console
harness_config:
type: multi_line
# Verify core dump contains threads metadata section and several
# memory sections, two for each thread
regex:
- "E: #CD:BEGIN#"
- "E: #CD:5([aA])45([0-9a-fA-F]+)"
- "E: #CD:41([0-9a-fA-F]+)"
- "E: #CD:54([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:4([dD])([0-9a-fA-F]+)"
- "E: #CD:END#"