]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional: Move sh4/sh4eb tests into target-specific folders
authorThomas Huth <thuth@redhat.com>
Tue, 19 Aug 2025 11:23:57 +0000 (13:23 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 27 Aug 2025 07:46:55 +0000 (09:46 +0200)
The tests/functional folder has become quite crowded, thus move the
sh4 tests into a target-specific subfolder.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250819112403.432587-21-thuth@redhat.com>

MAINTAINERS
tests/functional/meson.build
tests/functional/sh4/meson.build [new file with mode: 0644]
tests/functional/sh4/test_r2d.py [moved from tests/functional/test_sh4_r2d.py with 100% similarity]
tests/functional/sh4/test_tuxrun.py [moved from tests/functional/test_sh4_tuxrun.py with 100% similarity]
tests/functional/sh4eb/meson.build [new file with mode: 0644]
tests/functional/sh4eb/test_r2d.py [moved from tests/functional/test_sh4eb_r2d.py with 100% similarity]

index 4a55a20f6a587b9a0e493da9a07907920e84ca40..eddec0058e0ad801be142b015ec8fa0eefd1d9bf 100644 (file)
@@ -1736,8 +1736,8 @@ F: hw/pci-host/sh_pci.c
 F: hw/timer/sh_timer.c
 F: include/hw/sh4/sh_intc.h
 F: include/hw/timer/tmu012.h
-F: tests/functional/test_sh4*_r2d.py
-F: tests/functional/test_sh4_tuxrun.py
+F: tests/functional/sh4*/test_r2d.py
+F: tests/functional/sh4/test_tuxrun.py
 
 SPARC Machines
 --------------
index abaa4e00fcadf518776c9967e6dc97763a577abc..ce713509e329f7ac519eaf94eea744527a7a525f 100644 (file)
@@ -30,10 +30,8 @@ subdir('riscv32')
 subdir('riscv64')
 subdir('rx')
 subdir('s390x')
-
-test_sh4_timeouts = {
-  'sh4_tuxrun' : 240,
-}
+subdir('sh4')
+subdir('sh4eb')
 
 test_x86_64_timeouts = {
   'acpi_bits' : 420,
@@ -56,15 +54,6 @@ tests_generic_linuxuser = [
 tests_generic_bsduser = [
 ]
 
-tests_sh4_system_thorough = [
-  'sh4_r2d',
-  'sh4_tuxrun',
-]
-
-tests_sh4eb_system_thorough = [
-  'sh4eb_r2d',
-]
-
 tests_sparc_system_quick = [
   'sparc_migration',
 ]
diff --git a/tests/functional/sh4/meson.build b/tests/functional/sh4/meson.build
new file mode 100644 (file)
index 0000000..56f824e
--- /dev/null
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+test_sh4_timeouts = {
+  'tuxrun' : 240,
+}
+
+tests_sh4_system_thorough = [
+  'r2d',
+  'tuxrun',
+]
diff --git a/tests/functional/sh4eb/meson.build b/tests/functional/sh4eb/meson.build
new file mode 100644 (file)
index 0000000..25e9a6e
--- /dev/null
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+tests_sh4eb_system_thorough = [
+  'r2d',
+]