zephyr/tests/kernel/sched/schedule_api
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
..
src tests: schedule_api: lengthen interval for slicing reset test 2021-02-23 10:36:21 -05:00
CMakeLists.txt
prj_dumb.conf test: scheduling :add new conf file 2021-01-23 11:04:51 -05:00
prj_multiq.conf test: scheduling: add test case 2020-09-16 08:06:42 -04:00
prj.conf test: scheduling: add configuration item 2021-01-18 17:22:34 -05:00
testcase.yaml tests: sched: fix test identifier 2021-02-22 14:36:06 -05:00