diff options
| author | Thomas Huth <thuth@redhat.com> | 2025-04-24 10:54:26 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-04-30 20:44:20 +0200 |
| commit | bcfee4938f8d4e8bf5f49981d3c8a78cf267cb4e (patch) | |
| tree | ab3985e0449c02db757a302c332c4442228d26af | |
| parent | d64db833d6e3cbe9ea5f36342480f920f3675cea (diff) | |
| download | focaccia-qemu-bcfee4938f8d4e8bf5f49981d3c8a78cf267cb4e.tar.gz focaccia-qemu-bcfee4938f8d4e8bf5f49981d3c8a78cf267cb4e.zip | |
tests/functional/test_ppc64_pseries: Skip test_ppc64_linux_smt_boot if necessary
The test_ppc64_linux_smt_boot function lacks the set_machine('pseries'),
so this test is currently failing in case the 'pseries' machine has not
been compiled into the binary. Add the check now to fix it.
Message-ID: <20250424085426.663377-1-thuth@redhat.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
| -rwxr-xr-x | tests/functional/test_ppc64_pseries.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/test_ppc64_pseries.py b/tests/functional/test_ppc64_pseries.py index fdc404ed03..67057934e8 100755 --- a/tests/functional/test_ppc64_pseries.py +++ b/tests/functional/test_ppc64_pseries.py @@ -63,6 +63,7 @@ class pseriesMachine(QemuSystemTest): wait_for_console_pattern(self, self.good_message, self.panic_message) def test_ppc64_linux_smt_boot(self): + self.set_machine('pseries') self.vm.add_args('-smp', '4,threads=4') self.do_test_ppc64_linux_boot() console_pattern = 'CPU maps initialized for 4 threads per core' |