Created the `arch_stack_walk()` function out from the original `z_riscv_unwind_stack()`, it's been updated to support unwinding any thread. Updated the stack_unwind test case accordingly. Increased the delay in `test_fatal_on_smp`, to wait for the the fatal thread to be terminated, as stacktrace can take a bit more time. Doubled the kernel/smp testcase timeout from 60 (default) to 120s, as some of the tests can take a little bit more than 60s to finish. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
27 lines
594 B
YAML
27 lines
594 B
YAML
common:
|
|
timeout: 120
|
|
tests:
|
|
kernel.multiprocessing.smp:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
|
kernel.multiprocessing.smp.minimallibc:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
- libc
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1) and CONFIG_MINIMAL_LIBC_SUPPORTED
|
|
extra_configs:
|
|
- CONFIG_MINIMAL_LIBC=y
|
|
kernel.multiprocessing.smp.affinity:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
|
extra_configs:
|
|
- CONFIG_SCHED_CPU_MASK=y
|