]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional: Move microblaze tests into architecture specific folder
authorThomas Huth <thuth@redhat.com>
Tue, 19 Aug 2025 11:23:50 +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
microblaze 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-14-thuth@redhat.com>

MAINTAINERS
tests/functional/meson.build
tests/functional/microblaze/meson.build [new file with mode: 0644]
tests/functional/microblaze/test_replay.py [moved from tests/functional/test_microblaze_replay.py with 100% similarity]
tests/functional/microblaze/test_s3adsp1800.py [moved from tests/functional/test_microblaze_s3adsp1800.py with 100% similarity]
tests/functional/microblazeel/meson.build [new file with mode: 0644]
tests/functional/microblazeel/test_s3adsp1800.py [moved from tests/functional/test_microblazeel_s3adsp1800.py with 92% similarity]

index e188de813fbc2ef6b9995d485dbf512c65e8295a..b6a835777bb07e98d7cfd342b40fef7c2999d33a 100644 (file)
@@ -1370,7 +1370,7 @@ M: Edgar E. Iglesias <edgar.iglesias@gmail.com>
 S: Maintained
 F: hw/microblaze/petalogix_s3adsp1800_mmu.c
 F: include/hw/char/xilinx_uartlite.h
-F: tests/functional/test_microblaze*.py
+F: tests/functional/microblaze*/test_s3adsp1800.py
 
 petalogix_ml605
 M: Edgar E. Iglesias <edgar.iglesias@gmail.com>
index d32dd4a371f9a3617d6a90d20f2959799115f18f..fee680561458e8b7e8d57daedb2697681fbe2727 100644 (file)
@@ -17,6 +17,8 @@ subdir('hppa')
 subdir('i386')
 subdir('loongarch64')
 subdir('m68k')
+subdir('microblaze')
+subdir('microblazeel')
 
 test_mips_timeouts = {
   'mips_malta' : 480,
@@ -82,15 +84,6 @@ tests_generic_linuxuser = [
 tests_generic_bsduser = [
 ]
 
-tests_microblaze_system_thorough = [
-  'microblaze_replay',
-  'microblaze_s3adsp1800'
-]
-
-tests_microblazeel_system_thorough = [
-  'microblazeel_s3adsp1800'
-]
-
 tests_mips_system_thorough = [
   'mips_malta',
   'mips_replay',
diff --git a/tests/functional/microblaze/meson.build b/tests/functional/microblaze/meson.build
new file mode 100644 (file)
index 0000000..8069ca9
--- /dev/null
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+tests_microblaze_system_thorough = [
+  'replay',
+  's3adsp1800'
+]
diff --git a/tests/functional/microblazeel/meson.build b/tests/functional/microblazeel/meson.build
new file mode 100644 (file)
index 0000000..27619dc
--- /dev/null
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+tests_microblazeel_system_thorough = [
+  's3adsp1800'
+]
similarity index 92%
rename from tests/functional/test_microblazeel_s3adsp1800.py
rename to tests/functional/microblazeel/test_s3adsp1800.py
index 915902d48bdefb1112b81269ad2a13b514d51749..75ce8856ed1515148f31d9000583baeea96e81db 100755 (executable)
@@ -7,7 +7,7 @@
 # This work is licensed under the terms of the GNU GPL, version 2 or
 # later. See the COPYING file in the top-level directory.
 
-from test_microblaze_s3adsp1800 import MicroblazeMachine
+from microblaze.test_s3adsp1800 import MicroblazeMachine
 
 
 class MicroblazeLittleEndianMachine(MicroblazeMachine):