qemu-cr16/tests/functional/test_ppc_migration.py
Thomas Huth 9845740a16 tests/functional: Rework the migration test to have target-specific files
We are going to move the tests for each target into separate subdirectories.
The migration test does not fit quite into this scheme, since it works
for multiple targets, but not all. Rework the test to have a common
test class, and target specific files with a target specific class, so
that this will fit better into the new scheme.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250819112403.432587-2-thuth@redhat.com>
2025-08-27 09:46:55 +02:00

26 lines
581 B
Python
Executable file

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