tests: Mass SMP disablement on non-SMP-safe tests
(Chunk 3 of 3 - this patch was split across pull requests to address CI build time limitations) Zephyr has always been a uniprocessor system, and its kernel tests are rife with assumptions and outright dependence on single-CPU operation (for example: "low priority threads will never run until this high priority thread blocks" -- not true if there's another processor to run it!) About 1/3 of our tests fail right now on x86_64 when dual processor operation is made default. Most of those can probably be recovered on a case-by-case basis with simple changes (and a few of them might represent real bugs in SMP!), but for now let's make sure the full test suite passes by turning the second CPU off. There's still plenty of SMP coverage in the remaining cases. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
ade05335b3
commit
a4614372f9
15 changed files with 26 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_POLL=y
|
||||
CONFIG_DYNAMIC_OBJECTS=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -2,3 +2,4 @@ CONFIG_ZTEST=y
|
|||
CONFIG_IRQ_OFFLOAD=y
|
||||
CONFIG_USERSPACE=y
|
||||
CONFIG_DYNAMIC_OBJECTS=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -3,3 +3,4 @@ CONFIG_IRQ_OFFLOAD=y
|
|||
CONFIG_POLL=y
|
||||
CONFIG_USERSPACE=y
|
||||
CONFIG_DYNAMIC_OBJECTS=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -7,3 +7,5 @@ CONFIG_BT=n
|
|||
# Deadline is not compatible with MULTIQ, so we have to pick something
|
||||
# specific instead of using the board-level default.
|
||||
CONFIG_SCHED_DUMB=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -5,3 +5,5 @@ CONFIG_NUM_PREEMPT_PRIORITIES=30
|
|||
CONFIG_SCHED_SCALABLE=y
|
||||
CONFIG_QEMU_TICKLESS_WORKAROUND=y
|
||||
CONFIG_MAX_THREAD_BYTES=4
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_IRQ_OFFLOAD=y
|
||||
CONFIG_TEST_USERSPACE=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_IRQ_OFFLOAD=y
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_QEMU_TICKLESS_WORKAROUND=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -2,3 +2,4 @@ CONFIG_ZTEST=y
|
|||
CONFIG_IRQ_OFFLOAD=y
|
||||
CONFIG_USERSPACE=y
|
||||
CONFIG_DYNAMIC_OBJECTS=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -6,3 +6,4 @@ CONFIG_THREAD_STACK_INFO=y
|
|||
CONFIG_HEAP_MEM_POOL_SIZE=256
|
||||
CONFIG_TEST_EXTRA_STACKSIZE=256
|
||||
CONFIG_SCHED_CPU_MASK=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_SYS_POWER_MANAGEMENT=y
|
||||
CONFIG_TICKLESS_IDLE_THRESH=20
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_QEMU_TICKLESS_WORKAROUND=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CONFIG_ZTEST=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_QEMU_TICKLESS_WORKAROUND=y
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -2,3 +2,5 @@ CONFIG_ZTEST=y
|
|||
CONFIG_IRQ_OFFLOAD=y
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=1024
|
||||
CONFIG_THREAD_NAME=y
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
|
@ -6,3 +6,5 @@ CONFIG_SEM_VALUE_MAX=32767
|
|||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
||||
CONFIG_MAX_THREAD_BYTES=4
|
||||
|
||||
CONFIG_SMP=n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue