[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4
From: |
Thomas Huth |
Subject: |
[PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4 |
Date: |
Wed, 25 Sep 2024 09:24:20 +0200 |
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>
---
v2: "r2d" only works on little endian, so don't try to use it for sh4eb
tests/qemu-iotests/testenv.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qemu-iotests/testenv.py b/tests/qemu-iotests/testenv.py
index 0b32eec119..8cd620c202 100644
--- a/tests/qemu-iotests/testenv.py
+++ b/tests/qemu-iotests/testenv.py
@@ -244,6 +244,7 @@ def __init__(self, source_dir: str, build_dir: str,
('riscv32', 'virt'),
('riscv64', 'virt'),
('rx', 'gdbsim-r5f562n8'),
+ ('sh4', 'r2d'),
('tricore', 'tricore_testboard')
)
for suffix, machine in machine_map:
--
2.46.0
- [PATCH v2] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4,
Thomas Huth <=