diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2025-02-07 15:30:58 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-02-10 13:47:58 +0000 |
commit | ff6c3b1a16ac2ee570447660526eea531d748396 (patch) | |
tree | 7b1242f8cc92e5aec57ca8a992ef69e38a10693c /tests | |
parent | 059d06c8a84352a64da963fbe70b978e3f225af0 (diff) | |
download | qemu-ff6c3b1a16ac2ee570447660526eea531d748396.zip qemu-ff6c3b1a16ac2ee570447660526eea531d748396.tar.gz qemu-ff6c3b1a16ac2ee570447660526eea531d748396.tar.bz2 |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtest/npcm7xx_timer-test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qtest/npcm7xx_timer-test.c b/tests/qtest/npcm7xx_timer-test.c index 58f58c2..4371104 100644 --- a/tests/qtest/npcm7xx_timer-test.c +++ b/tests/qtest/npcm7xx_timer-test.c @@ -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)); |