zephyr/tests/subsys/debug/thread_analyzer/testcase.yaml
Alberto Escolar Piedras 40eae69e58 tests: debug/thread_analyzer: Fix platform filter
Today the thread analyzer depends on !ARCH_POSIX,
so this filter needs to filter any board for this architecture
not just native_sim.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-08-11 10:30:49 +02:00

56 lines
1.8 KiB
YAML

common:
integration_platforms:
- mps2/an385
- qemu_x86_64
tags:
- debug
- thread_analyzer
arch_exclude:
# The thread analyzer depends on !ARCH_POSIX
- posix
tests:
debug.thread_analyzer.printk:
extra_configs:
- CONFIG_THREAD_ANALYZER_USE_PRINTK=y
harness: console
harness_config:
type: multi_line
regex:
- "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
- "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
debug.thread_analyzer.printk.userspace:
filter: CONFIG_ARCH_HAS_USERSPACE
extra_configs:
- CONFIG_THREAD_ANALYZER_USE_PRINTK=y
- CONFIG_USERSPACE=y
harness: console
harness_config:
type: multi_line
regex:
- "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
- "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
debug.thread_analyzer.log_backend:
extra_configs:
- CONFIG_THREAD_ANALYZER_USE_LOG=y
- CONFIG_LOG=y
- CONFIG_LOG_MODE_IMMEDIATE=y
harness: console
harness_config:
type: multi_line
regex:
- "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
- "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
debug.thread_analyzer.log_backend.userspace:
filter: CONFIG_ARCH_HAS_USERSPACE
extra_configs:
- CONFIG_USERSPACE=y
- CONFIG_THREAD_ANALYZER_USE_LOG=y
- CONFIG_LOG=y
- CONFIG_LOG_MODE_IMMEDIATE=y
harness: console
harness_config:
type: multi_line
regex:
- "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"
- "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)"