Skip to content

Commit 4562358

Browse files
Nicolas Pitrenashif
authored andcommitted
tests/kernel/fpu_sharing/generic: enforce execution on a single CPU
This test relies on one thread interrupting another to exercize the FPU sharing. On SMP those threads get one CPU each with no sharing of their FPU making the test rather pointless. Signed-off-by: Nicolas Pitre <[email protected]>
1 parent e3b57c3 commit 4562358

File tree

1 file changed

+1
-0
lines changed
  • tests/kernel/fpu_sharing/generic

1 file changed

+1
-0
lines changed

tests/kernel/fpu_sharing/generic/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ CONFIG_STDOUT_CONSOLE=y
55
CONFIG_CBPRINTF_FP_SUPPORT=y
66
CONFIG_MAIN_STACK_SIZE=1024
77
CONFIG_ZTEST_NEW_API=y
8+
CONFIG_MP_MAX_NUM_CPUS=1

0 commit comments

Comments
 (0)