zephyr/tests/kernel/sched
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
..
deadline tests/sched/deadline: Fix precision rollover 2021-02-03 13:10:33 -05:00
metairq tests: metairq: add extra verbosity 2020-09-30 14:11:59 -04:00
preempt tests: preempt: workaround aggressive oprimization 2020-10-06 11:41:23 -04:00
schedule_api tests: schedule_api: lengthen interval for slicing reset test 2021-02-23 10:36:21 -05:00