Skip to content

Commit 67f3d0b

Browse files
wearyzennashif
authored andcommitted
tests: kernel: smp: Test cpu affinity with custom ROM offset
What is the changed? CPU affinity test for SMP cores will now cover a change in ROM offset. How is it changed? Add a new testcase section with ROM offset set to something other than the default 0. Why is it change? There is no test to cover the issue reported in #76182 and the cpu affinity test is the closest to test the issue. Adding a new testcase will makes sure there is no breaking change in the future. Signed-off-by: Sudan Landge <[email protected]>
1 parent ac2de3f commit 67f3d0b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/kernel/smp/testcase.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,13 @@ tests:
2424
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
2525
extra_configs:
2626
- CONFIG_SCHED_CPU_MASK=y
27+
28+
kernel.multiprocessing.smp.affinity.custom_rom_offset:
29+
tags:
30+
- kernel
31+
- smp
32+
ignore_faults: true
33+
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
34+
extra_configs:
35+
- CONFIG_SCHED_CPU_MASK=y
36+
- CONFIG_ROM_START_OFFSET=0x80

0 commit comments

Comments
 (0)