zephyr/tests/kernel
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
..
alert/alert_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
arm_irq_vector_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
arm_runtime_nmi samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
boot_page_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
common drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
context tests/kernel/context: Limit no-tick-during-irq-load to !TICKLESS 2018-11-13 17:10:07 -05:00
critical samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
device tests: kernel: test force suspend of device 2018-11-10 13:50:42 -05:00
early_sleep samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
errno samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fatal samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fifo samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
fp_sharing samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
gen_isr_table samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
init samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
interrupt tests/kernel/interrupt: Shrink very long k_busy_wait() argument 2018-11-13 17:10:07 -05:00
irq_offload samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
lifo samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mbox samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_heap/mheap_api_concept samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_pool samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mem_protect tests: kernel: userspace: minor typo fixes 2018-11-06 16:14:41 -05:00
mem_slab samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mp samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
msgq/msgq_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
mutex samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
obj_tracing samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
pending samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
pipe samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
poll kernel: Change k_poll_signal api 2018-11-04 11:37:24 -05:00
profiling/profiling_api samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
queue samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
sched drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
semaphore samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
sleep drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
smp samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
spinlock samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
stack samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
static_idt samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00
threads tests: kernel: Validate set thread name to current thread 2018-10-29 10:17:10 -04:00
tickless tests: kernel: tickless: Bugfix for POSIX arch in TICKLESS 2018-11-13 09:19:03 -05:00
timer drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
workq drivers/timer: Add a standard workaround for known qemu issues 2018-11-13 17:10:07 -05:00
xip samples, tests: Use semi-accurate project names 2018-10-27 21:31:25 -04:00