zephyr/tests/kernel/timer
Andy Ross 00e2cce1fc tests/kernel/timer/timer_api: Fix static double-conversion goof
The test of the absolute timeout feature was a simple whitebox test
that inspected the generated ticks field of different constructors for
identity.  But it wasn't simple enough, because it was doing a
ticks->ms->ticks conversion (at compile time, sigh) on the input data,
which is obviously lossy on platforms where ticks are shorter than
milliseconds by non-integral factors.

Fix to do the conversion in just one direction.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-04-22 17:35:10 +02:00
..
starve cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
timer_api tests/kernel/timer/timer_api: Fix static double-conversion goof 2020-04-22 17:35:10 +02:00
timer_monotonic cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00