zephyr/tests/kernel/interrupt/src
Andrew Boie 7eb07d1470 tests: interrupt: fix broken scenario
The author of this test case seems to have been under the
mistaken impression that interrupts are locked in ISRs, which
is untrue.

The only reason this ever passed, anywhere, was a race between
the timer firing and the zassert_not_equal() check in
offload_function. If the busy_wait call is moved after the timer
is started, this fails everywhere.

We do not re-use the timer object from the previous case,
resolving some crashes observed on riscv.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-03-10 10:14:55 -04:00
..
interrupt.h arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
main.c kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
nested_irq.c tests: interrupt: fix broken scenario 2020-03-10 10:14:55 -04:00