* [PATCH] tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine
@ 2025-05-21 14:51 Thomas Huth
2025-05-21 17:02 ` Alex Bennée
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2025-05-21 14:51 UTC (permalink / raw)
To: Mark Cave-Ayland, Alex Bennée, qemu-devel
Cc: Philippe Mathieu-Daudé
From: Thomas Huth <thuth@redhat.com>
Use self.set_machine() to set the machine instead of relying on the
default machine of the binary. This way the test can be skipped in
case the machine has not been compiled into the QEMU binary.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/functional/test_sparc64_tuxrun.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/functional/test_sparc64_tuxrun.py b/tests/functional/test_sparc64_tuxrun.py
index 3be08d6102b..0d7b43dd74c 100755
--- a/tests/functional/test_sparc64_tuxrun.py
+++ b/tests/functional/test_sparc64_tuxrun.py
@@ -24,6 +24,7 @@ class TuxRunSparc64Test(TuxRunBaselineTest):
'479c3dc104c82b68be55e2c0c5c38cd473d0b37ad4badccde4775bb88ce34611')
def test_sparc64(self):
+ self.set_machine('sun4u')
self.root='sda'
self.wait_for_shutdown=False
self.common_tuxrun(kernel_asset=self.ASSET_SPARC64_KERNEL,
--
2.49.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine
2025-05-21 14:51 [PATCH] tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine Thomas Huth
@ 2025-05-21 17:02 ` Alex Bennée
0 siblings, 0 replies; 2+ messages in thread
From: Alex Bennée @ 2025-05-21 17:02 UTC (permalink / raw)
To: Thomas Huth; +Cc: Mark Cave-Ayland, qemu-devel, Philippe Mathieu-Daudé
Thomas Huth <thuth@redhat.com> writes:
> From: Thomas Huth <thuth@redhat.com>
>
> Use self.set_machine() to set the machine instead of relying on the
> default machine of the binary. This way the test can be skipped in
> case the machine has not been compiled into the QEMU binary.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-21 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21 14:51 [PATCH] tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine Thomas Huth
2025-05-21 17:02 ` Alex Bennée
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).