mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
tests/functional: Move riscv32/riscv64 tests into target-specific folders
The opensbi test is used for both, riscv32 and riscv64. Copy the main test to the riscv64 folder and add a simple wrapper to the riscv32 folder to be able to run it for that target, too. Reviewed-by: Pierrick Bouvier <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Huth <[email protected]> Message-ID: <[email protected]>
This commit is contained in:
1 parent
1cdb63218c
commit
e1a8572a8d
11 files changed
+39
-24
No files matched your search
+2
-1
@@ -332,7 +332,8 @@ F: include/hw/riscv/
|
||||
F: linux-user/host/riscv32/
|
||||
F: linux-user/host/riscv64/
|
||||
F: common-user/host/riscv*
|
||||
F: tests/functional/test_riscv*
|
||||
F: tests/functional/riscv32
|
||||
F: tests/functional/riscv64
|
||||
F: tests/tcg/riscv64/
|
||||
|
||||
RISC-V XThead* extensions
|
||||
|
||||
@@ -26,10 +26,8 @@ subdir('mips64el')
|
||||
subdir('or1k')
|
||||
subdir('ppc')
|
||||
subdir('ppc64')
|
||||
|
||||
test_riscv64_timeouts = {
|
||||
'riscv64_tuxrun' : 120,
|
||||
}
|
||||
subdir('riscv32')
|
||||
subdir('riscv64')
|
||||
|
||||
test_s390x_timeouts = {
|
||||
's390x_ccw_virtio' : 420,
|
||||
@@ -60,25 +58,6 @@ tests_generic_linuxuser = [
|
||||
tests_generic_bsduser = [
|
||||
]
|
||||
|
||||
tests_riscv32_system_quick = [
|
||||
'riscv32_migration',
|
||||
'riscv_opensbi',
|
||||
]
|
||||
|
||||
tests_riscv32_system_thorough = [
|
||||
'riscv32_tuxrun',
|
||||
]
|
||||
|
||||
tests_riscv64_system_quick = [
|
||||
'riscv64_migration',
|
||||
'riscv_opensbi',
|
||||
]
|
||||
|
||||
tests_riscv64_system_thorough = [
|
||||
'riscv64_sifive_u',
|
||||
'riscv64_tuxrun',
|
||||
]
|
||||
|
||||
tests_rx_system_thorough = [
|
||||
'rx_gdbsim',
|
||||
]
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
tests_riscv32_system_quick = [
|
||||
'migration',
|
||||
'opensbi',
|
||||
]
|
||||
|
||||
tests_riscv32_system_thorough = [
|
||||
'tuxrun',
|
||||
]
|
||||
File renamed without changes.
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#
|
||||
# Reuse the 64-bit OpenSBI test for RISC-V 32-bit machines
|
||||
|
||||
from riscv64.test_opensbi import RiscvOpenSBI
|
||||
|
||||
if __name__ == '__main__':
|
||||
RiscvOpenSBI.main()
|
||||
File renamed without changes.
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
test_riscv64_timeouts = {
|
||||
'tuxrun' : 120,
|
||||
}
|
||||
|
||||
tests_riscv64_system_quick = [
|
||||
'migration',
|
||||
'opensbi',
|
||||
]
|
||||
|
||||
tests_riscv64_system_thorough = [
|
||||
'sifive_u',
|
||||
'tuxrun',
|
||||
]
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user