summary refs log tree commit diff stats
path: root/tests/functional/qemu_test
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-01-08 12:10:39 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-01-10 11:18:32 +0000
commitd524441a3610ba33c12b641c00d8e6886d411aad (patch)
treef420d9ab8ea8553f9dbd70b17857ddead2fce6c7 /tests/functional/qemu_test
parent92cb8f8bf67e89254b0e4167521675eb6cd84981 (diff)
downloadfocaccia-qemu-d524441a3610ba33c12b641c00d8e6886d411aad.tar.gz
focaccia-qemu-d524441a3610ba33c12b641c00d8e6886d411aad.zip
system/qtest: properly feedback results of clock_[step|set]
Time will not advance if the system is paused or there are no timer
events set for the future. In absence of pending timer events
advancing time would make no difference the system state. Attempting
to do so would be a bug and the test or device under test would need
fixing.

Tighten up the result reporting to `FAIL` if time was not advanced.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2687
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250108121054.1126164-18-alex.bennee@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test')
0 files changed, 0 insertions, 0 deletions