zephyr/tests/kernel
Alberto Escolar Piedras 972a4d9f6f tests/kernel/context: Improve to resist parallel threads interrupting
This test assumes that nothing will wake the CPU apart from
the timer set by the test.
But that is not necessarily the case.
Some other platform thread started at boot
may be waking the CPU every now and then.

Let's allow for some spurious wakes while we are testing k_cpu_idle,
while at the same time ensuring we are not just busy waiting
all the way.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-15 09:58:26 +01:00
..
cache tests: kernel/cache: skip i-cache range tests if Xtensa MMU 2023-12-18 12:25:04 +01:00
common tests: add a tag for nano libc tests 2023-12-21 09:18:44 +01:00
condvar/condvar_api tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
context tests/kernel/context: Improve to resist parallel threads interrupting 2024-01-15 09:58:26 +01:00
device tests/kernel/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
early_sleep tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
events tests kernel: Exclude posix arch for userspace tests 2023-10-24 09:05:29 +02:00
fatal tests: fatal: Add message explaining OOPS 2023-12-11 09:56:33 +01:00
fifo tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
fpu_sharing tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
gen_isr_table arch: riscv: introduce RISCV_PRIVILEGED 2024-01-09 09:40:07 +01:00
interrupt tests: interrupt: sw_isr_table: fix index test for n+1 instance 2023-12-08 08:40:41 -05:00
lifo tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mbox tests: k_mbox: Change ZTEST_USER to ZTEST 2023-11-05 07:51:59 -05:00
mem_heap/k_heap_api tests: move shared_multi_heap to tests/lib 2023-12-13 17:27:54 -05:00
mem_protect xtensa: mmu: rename prefix z_xtensa to xtensa_mmu 2023-12-13 09:41:24 +01:00
mem_slab tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mp tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
msgq tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mutex tests: kernel: fix thread function signatures 2023-10-30 17:45:59 +00:00
obj_core tests: obj_core: Increase stack sizes 2023-10-25 10:05:52 +02:00
obj_tracking tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
pending tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
pipe tests: Initialize array in pipe test 2023-12-15 14:51:35 -05:00
poll tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
profiling/profiling_api tests: profiling: Remove unused Kconfig 2023-10-22 19:08:26 -04:00
queue tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
sched tests/kernel/sched/schedule_api: Replace delay with Z_SPIN_DELAY() 2023-11-30 09:42:25 -05:00
semaphore tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
sleep tests: sleep: reduce verbosity 2024-01-09 09:58:57 +01:00
smp tests: kernel: fix thread function signatures 2023-10-30 17:45:59 +00:00
smp_boot_delay tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
smp_suspend tests: Add thread suspend-resume SMP stress test 2024-01-11 10:05:02 +01:00
spinlock test: spinlock: cleanup assertion 2023-11-06 15:44:34 -06:00
stack/stack tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
threads ztest: shell: add shell support 2024-01-09 09:58:57 +01:00
tickless/tickless_concept tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
timer ztest: fix ztest_run_test_suite usage and macros 2024-01-09 08:15:22 -05:00
usage/thread_runtime_stats tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
workq tests: work_queue: Change TC_PRINT to LOG_DBG 2023-10-30 09:29:25 -04:00
xip tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00