mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
d64db833d6
commit
bcfee4938f
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue