]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Revert emulator selection to old behaviour
authorKevin Wolf <kwolf@redhat.com>
Tue, 2 Feb 2021 14:28:02 +0000 (15:28 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Feb 2021 16:05:04 +0000 (17:05 +0100)
commitca502ca60dab85b11a7fad5978ab3de94c296fb6
treedd00584cd85be7da32f4cd25641ba8b02aa8e250
parentd0bc412302e6f32e65835a83ddefa656c7d7e9ba
iotests: Revert emulator selection to old behaviour

If the qemu-system-{arch} binary for the host architecture can't be
found, the old 'check' implementation selected the alphabetically first
system emulator binary that it could find. The new Python implementation
just uses the first result of glob.iglob(), which has an undefined
order.

This is a problem that breaks CI because the iotests aren't actually
prepared to run on any emulator. They should be, so this is really a bug
in the failing test cases that should be fixed there, but as a quick
fix, let's revert to the old behaviour to let CI runs succeed again.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210202142802.119999-1-kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/testenv.py