]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/npcm7xx_watchdog_timer-test.c
tests/qtest/npcm7xx_watchdog_timer: Only test the corner cases by default
authorThomas Huth <thuth@redhat.com>
Mon, 15 Jan 2024 07:02:23 +0000 (08:02 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 16 Jan 2024 06:24:08 +0000 (07:24 +0100)
commitd9e2da0ccc5b636afc632ba9cb95d83885e2d8dc
treee2ef15f59fe244cfc0caf3dd86c2043fd42f1fbd
parentcfae0537049d10e84a01cf9ce3e2d3833fd8e92d
tests/qtest/npcm7xx_watchdog_timer: Only test the corner cases by default

The test_prescaler() part in the npcm7xx_watchdog_timer test is quite
repetitive, testing all possible combinations of the WTCLK and WTIS
bitfields. Since each test spins up a new instance of QEMU, this is
rather an expensive test, especially on loaded host systems.
For the normal quick test mode, it should be sufficient to test the
corner settings of these fields (i.e. 0 and 3), so we can speed up
this test in the default mode quite a bit.

Message-ID: <20240115070223.30178-1-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/npcm7xx_watchdog_timer-test.c