Files
xemu/tests/functional/riscv32/test_migration.py
Thomas Huth e1a8572a8d 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 <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250819112403.432587-18-thuth@redhat.com>
2025-08-27 09:46:55 +02:00

27 lines
576 B
Python
Executable File

#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# riscv32 migration test
from migration import MigrationTest
class Rv32MigrationTest(MigrationTest):
def test_migration_with_tcp_localhost(self):
self.set_machine('spike')
self.migration_with_tcp_localhost()
def test_migration_with_unix(self):
self.set_machine('virt')
self.migration_with_unix()
def test_migration_with_exec(self):
self.set_machine('spike')
self.migration_with_exec()
if __name__ == '__main__':
MigrationTest.main()