tests/qtest: tighten up the checks on clock_step
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 7 Feb 2025 15:31:01 +0000 (15:31 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 10 Feb 2025 13:47:58 +0000 (13:47 +0000)
commit14fa0e6b2065bf693e4bdfc3fa0a84e1b8b5ffe1
tree2012a8647413f4d0afa1b04d1eea1270bba88ae8
parent31ef3c333db3b1293b65da0e8fe602ad5ebcd698
tests/qtest: tighten up the checks on clock_step

It is invalid to call clock_step with an implied time to step forward
as if no timers are running we won't be able to advance.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250207153112.3939799-7-alex.bennee@linaro.org>
system/qtest.c