zephyr/tests/kernel
Keith Packard d70e8d5a8f tests/thread_apis: Allow 20µs slop in k_busy_wait test
When testing k_busy_wait(100), don't require that at least 100µs of CPU
time be consumed by the thread itself; some of that time may be used
elsewhere in the system. Instead, just make sure that at least 80µs is
accounted to the thread and allow 20µs to get used elsewhere.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-12-05 09:24:28 +01:00
..
cache tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
common tests/kernel/*: Switch integration platform to native_sim 2023-11-30 09:42:25 -05:00
condvar/condvar_api tests: fix thread function signatures 2023-10-30 12:24:34 +01:00
context tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02: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 kernel: mm: only include demand_paging.h if needed 2023-11-23 10:01:45 +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 irq: relocate multi-level irq out of irq.h 2023-10-30 11:43:39 -04:00
interrupt tests: kernel: also move the test_isr_dynamic to new ztest API 2023-11-15 10:01:22 +01: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 kernel: mm: move kernel mm functions under kernel includes 2023-11-20 09:19:14 +01:00
mem_protect tests: kernel: mem_protect: mem_map: fix wrong include 2023-11-23 15:17:44 +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: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02: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: kernel: fix thread function signatures 2023-10-30 17:45:59 +00: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
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 tests/thread_apis: Allow 20µs slop in k_busy_wait test 2023-12-05 09:24:28 +01:00
tickless/tickless_concept tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
timer tests/kernel/timer/timer_behavior: Add possibility to set ip address 2023-12-01 10:53:51 +00: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