zephyr/tests/kernel
Daniel DeGrasse 369a54514f tests: kernel: threads: Correct test assertion in thread_apis test
Thread APIs test for k_busy_wait incorrectly asserted that a delay of
100 us should produce a delay in cycles less than or equal to to 100 cycles
of the hardware clock. Since most hardware clocks are fast, this assertion
was valid, but it does not test for the actual delay.

Fix the assertion to verify that a delay of 100 us produces a delay in
cycles less than or equal to 100 us worth of hardware clock cycles.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2021-12-13 20:13:21 -05:00
..
common tests: kernel: atomics: expand atomic operations to 64-bit 2021-11-15 09:59:01 -05:00
condvar/condvar_api cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
context tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
device tests: kernel: device: remove PM related tests 2021-12-02 10:53:39 +01:00
early_sleep tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
events tests: add event test code 2021-10-16 06:27:10 -04:00
fatal tests: kernel: disable one test for qemu_cortex_a9 2021-11-01 22:10:04 -04:00
fifo tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
fpu_sharing cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
gen_isr_table tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
interrupt tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
lifo tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
mbox tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
mem_heap tests: heap: add test case for coverage 2021-11-07 05:39:10 -05:00
mem_protect tests: kernel: Fix address-of-packed-mem warning 2021-12-10 14:08:59 +01:00
mem_slab tests: kernel: mem_slab: Fix test for no multithreading 2021-11-03 09:18:40 -04:00
mp tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
msgq tests: msgq: improve code coverage for msgq API 2021-11-01 11:15:15 -04:00
mutex tests: correct some testsuite name 2021-11-09 15:51:44 -05:00
pending cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
pipe cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
poll tests: removing incorrect testcases of poll 2021-11-29 18:26:02 -05:00
profiling/profiling_api pm: policy: Add cpu information in the API 2021-11-06 10:21:53 -04:00
queue tests: queue: add a test case for coverage 2021-10-28 12:06:25 -04:00
sched test: change test suite name and testcase name 2021-11-03 16:44:50 -04:00
semaphore cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
sleep cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
smp tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00
smp_boot_delay tests/kernel: Add test for CONFIG_SMP_BOOT_DELAY 2021-11-23 13:23:54 -05:00
spinlock cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
stack/stack tests: stack: fix improper assert message 2021-10-13 06:17:23 -04:00
threads tests: kernel: threads: Correct test assertion in thread_apis test 2021-12-13 20:13:21 -05:00
tickless/tickless_concept cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
timer tests: kernel: cycle64: mark test as slow 2021-11-29 10:35:49 -05:00
workq tests: work_queue: add a test case for coverage 2021-11-12 11:56:23 -05:00
xip tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00