zephyr/tests/kernel
Daniel Leung 803eb1ea10 tests: schedule_api: lengthen interval for slicing reset test
When calculating the expected interval for threads other than
the first one, the test uses ms->ticks->cycles conversion to
figure out the bound of cycles permitted. Both lower and upper
bound conversions are using the k_*_to_*_floor32(). When
numbers involved are not wholly divisible, decimal points are
being truncated, resulting in incorrect intervals, and thus
failing tests. So change the calculation to appropriate
floor() or ceil() based on the boundary.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-02-23 10:36:21 -05:00
..
common tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
condvar/condvar_api tests: kernel: add test for condition variables 2021-01-19 08:55:47 -05:00
context aarch64: Remove QEMU 'wfi' issue workaround 2021-02-19 16:26:38 +03:00
device tests: device: add two more error case testing 2021-01-15 12:18:16 -05:00
early_sleep device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fatal logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
fifo tests/queue: Remove fifo/queue "poll" variant tests 2020-11-11 10:59:52 -05:00
fpu_sharing tests: fpu_sharing: allow board qemu_x86_lakemont 2021-02-19 18:51:04 -05:00
gen_isr_table tests: kernel: gen_isr_table: Exclude stm32f103_mini board 2020-12-03 10:54:38 -06:00
interrupt tests: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
lifo tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mbox tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mem_heap test: kheap: add testcase 2021-01-18 23:19:33 -05:00
mem_protect tests: remove nrf5340 PDK boards from test .yml files 2021-02-15 07:59:43 -05:00
mem_slab test: mslab: improve coverage for mslab 2021-01-12 22:16:33 -05:00
mp tests: improve test case descriptions of arch layer interface 2020-10-30 15:55:42 +01:00
msgq/msgq_api tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mutex tests: mutex: remove and refine some error test cases 2021-01-15 12:13:52 -05:00
obj_tracing
pending
pipe kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
poll kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
profiling/profiling_api tests: kernel: profiling: Add customized pm device policy handler. 2021-02-19 22:39:53 -05:00
queue tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
sched tests: schedule_api: lengthen interval for slicing reset test 2021-02-23 10:36:21 -05:00
semaphore/semaphore kernel: semaphore: Add some error case testing for semaphore 2021-01-18 22:10:09 -05:00
sleep tests: kernel/sleep: increase maximum threshold for nRF51 2020-09-24 09:52:32 -05:00
smp Tests: Minor change in description and group of SMP test cases 2020-11-03 11:04:50 +01:00
spinlock spinlock: validate: fix the dependency with MP_NUM_CPUS 2021-01-26 08:43:45 -05:00
stack/stack tests: stack: remove and refine some test cases 2021-01-15 11:18:40 -05:00
threads tests: kernel: tls: fix testsuite setup 2021-02-22 14:36:06 -05:00
tickless tests: remove nrf5340 PDK boards from test .yml files 2021-02-15 07:59:43 -05:00
timer tests/timer_api: Add test for absolute expiration time 2021-02-22 08:45:24 -05:00
workq test: workqueue: imporve coverage for workqueue 2021-01-04 16:25:40 +01:00
xip