mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
tests/qtest: don't step clock at start of npcm7xx periodic IRQ test
Until there are timers enabled the semantics of clock_step_next() will
fail. Since d524441a36 (system/qtest: properly feedback results of
clock_[step|set]) we will signal a FAIL if time doesn't advance.
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250207153112.3939799-4-alex.bennee@linaro.org>
This commit is contained in:
parent
059d06c8a8
commit
ff6c3b1a16
1 changed files with 0 additions and 1 deletions
|
|
@ -465,7 +465,6 @@ static void test_periodic_interrupt(gconstpointer test_data)
|
|||
int i;
|
||||
|
||||
tim_reset(td);
|
||||
clock_step_next();
|
||||
|
||||
tim_write_ticr(td, count);
|
||||
tim_write_tcsr(td, CEN | IE | MODE_PERIODIC | PRESCALE(ps));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue