tests/qemu-iotests/testenv: Use the "r2d" machine for sh4/sh4eb
authorThomas Huth <thuth@redhat.com>
Tue, 17 Sep 2024 19:43:50 +0000 (21:43 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2024 07:05:00 +0000 (10:05 +0300)
Commit 0ea0538fae516f9b4 removed the default machine of the sh4
binaries, so a lot of iotests are failing now without such a default
machine. Teach the iotest harness to use the "r2d" machine instead
to fix this problem.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/testenv.py

index 0b32eec1192b8c7a23729b70067c912a1a94749c..6326e46b7b100d20a1299d6d62405a959336af14 100644 (file)
@@ -244,6 +244,8 @@ class TestEnv(ContextManager['TestEnv']):
             ('riscv32', 'virt'),
             ('riscv64', 'virt'),
             ('rx', 'gdbsim-r5f562n8'),
+            ('sh4', 'r2d'),
+            ('sh4eb', 'r2d'),
             ('tricore', 'tricore_testboard')
         )
         for suffix, machine in machine_map: