zephyr/tests
Andy Ross ea35343eb1 tests/kernel/interrupt: Shrink very long k_busy_wait() argument
This test was written with an outrageously long timeout of 25 seconds.
That blows right through the 32 bit cycle counter on qemu_cortex_m3[1]
and produces an essentially random delay instead of the desired
number, causing a hang with the new SysTick driver in tickless mode.

Push the number down so it doesn't overflow.  The root cause, though,
is that k_busy_wait() can take arguments it can't handle.  It ought to
have an outer loop or something so that it can spin for INT_MAX
milliseconds correctly.

[1] Which has a 12MHz clock rate.  Many hardware implementations are
much faster still.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-11-13 17:10:07 -05:00
..
application_development samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
benchmarks tests/kernel/benchmarks: Disable TICKLESS_KERNEL for "no tick" tests 2018-11-13 17:10:07 -05:00
bluetooth Bluetooth: shell: Remove macros to print messages 2018-11-13 20:42:01 +02:00
boards Kconfig: Remove unused symbols defined only in Kconfig.defconfig files 2018-11-13 16:04:01 -05:00
booting/stub samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
cmsis_rtos_v1 samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
compliance
crypto samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
drivers dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
include shell: Rename shell to legacy_shell 2018-09-19 09:30:29 -04:00
kernel tests/kernel/interrupt: Shrink very long k_busy_wait() argument 2018-11-13 17:10:07 -05:00
lib samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
misc/test_build samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
net tests: net: ethernet_mgmt: Enable IPv6 for this test 2018-11-08 15:23:05 +02:00
posix samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
power samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
shell samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
subsys dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
unit samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
ztest samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
CMakeLists.txt tests: add CONFIG_TEST for marking tests 2018-01-08 10:03:57 -05:00
Kconfig tests: add Kconfig for testing via shell 2018-11-05 09:32:38 -05:00