Skip to content

Commit

Permalink
tests: More SMP disablement
Browse files Browse the repository at this point in the history
A few more test cases that are measurably unreliable when run in SMP.
For the most part these work most of the time (though the semaphore
one was pretty borderline -- I measured about 25% failures), but are
measurably unstable against the backdrop of known qemu instability.
Something is clearly going on and we need to come back to these to fix
threadsafety issues.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
  • Loading branch information
Andy Ross authored and galak committed Mar 20, 2019
1 parent e39aed5 commit 4f04f64
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions samples/philosophers/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_ASSERT_LEVEL=2
CONFIG_NUM_COOP_PRIORITIES=29
CONFIG_NUM_PREEMPT_PRIORITIES=40
CONFIG_SCHED_SCALABLE=y
CONFIG_SMP=n
2 changes: 1 addition & 1 deletion samples/philosophers/prj_tickless.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_NUM_COOP_PRIORITIES=29
CONFIG_NUM_PREEMPT_PRIORITIES=40

CONFIG_SYS_POWER_MANAGEMENT=y
CONFIG_TICKLESS_KERNEL=y
CONFIG_SMP=n
1 change: 1 addition & 0 deletions tests/kernel/mem_pool/mem_pool/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_HEAP_MEM_POOL_SIZE=256
CONFIG_ZTEST=y
CONFIG_SMP=n
2 changes: 2 additions & 0 deletions tests/kernel/profiling/profiling_api/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_IDLE_STACK_SIZE=768
# to check isr
CONFIG_IRQ_OFFLOAD=y
CONFIG_ISR_STACK_SIZE=768

CONFIG_SMP=n
1 change: 1 addition & 0 deletions tests/kernel/semaphore/sema_api/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=y
CONFIG_SMP=n
1 change: 1 addition & 0 deletions tests/kernel/stack/stack_usage/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_ZTEST=y
CONFIG_IRQ_OFFLOAD=y
CONFIG_SMP=n

0 comments on commit 4f04f64

Please sign in to comment.