Browse Source

tests: kernel: set timeslice size to 0 in tests that do not exercise it

Sets CONFIG_TIMESLICE_SIZE=0 for tests that previously expected to run
without timeslicing enabled, and now fail with the default
CONFIG_TIMESLICE_SIZE=20. Note that timeslicing functionality is still
included, but no actual timeslicing is performed.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
pull/90087/head
Daniel Mangum 2 months ago committed by Benjamin Cabé
parent
commit
f47330edd8
  1. 1
      samples/subsys/zbus/msg_subscriber/prj.conf
  2. 1
      tests/integration/kernel/prj.conf
  3. 1
      tests/kernel/pipe/deprecated/pipe/prj.conf
  4. 1
      tests/kernel/semaphore/semaphore/prj.conf

1
samples/subsys/zbus/msg_subscriber/prj.conf

@ -3,6 +3,7 @@ CONFIG_LOG_MODE_MINIMAL=y @@ -3,6 +3,7 @@ CONFIG_LOG_MODE_MINIMAL=y
CONFIG_ASSERT=y
CONFIG_BOOT_BANNER=n
CONFIG_MAIN_THREAD_PRIORITY=3
CONFIG_TIMESLICE_SIZE=0
CONFIG_ZBUS=y
CONFIG_ZBUS_LOG_LEVEL_INF=y
CONFIG_ZBUS_CHANNEL_NAME=y

1
tests/integration/kernel/prj.conf

@ -1,2 +1,3 @@ @@ -1,2 +1,3 @@
CONFIG_ZTEST=y
CONFIG_MP_MAX_NUM_CPUS=1
CONFIG_TIMESLICE_SIZE=0

1
tests/kernel/pipe/deprecated/pipe/prj.conf

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
CONFIG_ZTEST=y
CONFIG_TEST_USERSPACE=y
CONFIG_MP_MAX_NUM_CPUS=1
CONFIG_TIMESLICE_SIZE=0
CONFIG_PIPES=y

1
tests/kernel/semaphore/semaphore/prj.conf

@ -3,3 +3,4 @@ CONFIG_IRQ_OFFLOAD=y @@ -3,3 +3,4 @@ CONFIG_IRQ_OFFLOAD=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_FATAL_HOOK=y
CONFIG_MAX_THREAD_BYTES=3
CONFIG_TIMESLICE_SIZE=0

Loading…
Cancel
Save