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>
This commit is contained in:
Daniel Mangum 2025-05-15 15:06:32 -04:00 committed by Benjamin Cabé
parent e337b7b65d
commit f47330edd8
4 changed files with 4 additions and 0 deletions

View File

@ -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

View File

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

View File

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

View File

@ -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