diff options
| author | Thomas Huth <thuth@redhat.com> | 2025-08-19 13:23:38 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-08-27 09:46:55 +0200 |
| commit | 9845740a162f2d9a4c852068155e94f1a3c487f9 (patch) | |
| tree | 44c09644032d0e4f95a1aaa48f6855b314daa79b /tests/functional/test_i386_migration.py | |
| parent | 0cdabf8adbaca4b370301366faab2d01121289c7 (diff) | |
| download | focaccia-qemu-9845740a162f2d9a4c852068155e94f1a3c487f9.tar.gz focaccia-qemu-9845740a162f2d9a4c852068155e94f1a3c487f9.zip | |
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>
Diffstat (limited to 'tests/functional/test_i386_migration.py')
| -rwxr-xr-x | tests/functional/test_i386_migration.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/functional/test_i386_migration.py b/tests/functional/test_i386_migration.py new file mode 100755 index 0000000000..a57f316404 --- /dev/null +++ b/tests/functional/test_i386_migration.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +# i386 migration test + +from migration import MigrationTest + + +class I386MigrationTest(MigrationTest): + + def test_migration_with_tcp_localhost(self): + self.set_machine('isapc') + self.migration_with_tcp_localhost() + + def test_migration_with_unix(self): + self.set_machine('isapc') + self.migration_with_unix() + + def test_migration_with_exec(self): + self.set_machine('isapc') + self.migration_with_exec() + + +if __name__ == '__main__': + MigrationTest.main() |