From d49f413c54750bef03a35eed9a3a92b89cd0b0d3 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Wed, 18 Dec 2019 11:05:59 -0800 Subject: [PATCH] tests: futex: use one cpu Nearly all of these cases create a child thread that needs to complete before the main test proceeds further. If the child thread runs simultaneously on another CPU, this gets messed up. Signed-off-by: Andrew Boie --- tests/kernel/mem_protect/futex/prj.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kernel/mem_protect/futex/prj.conf b/tests/kernel/mem_protect/futex/prj.conf index 29f2d64944e..af4c2c15ab2 100644 --- a/tests/kernel/mem_protect/futex/prj.conf +++ b/tests/kernel/mem_protect/futex/prj.conf @@ -1,3 +1,4 @@ CONFIG_ZTEST=y CONFIG_IRQ_OFFLOAD=y CONFIG_TEST_USERSPACE=y +CONFIG_MP_NUM_CPUS=1