tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine
PATCH 1/1 tests/functional/test_sparc64_tuxrun: Explicitly set the 'sun4u' machine
From: Thomas Huth <[email protected]>
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 <[email protected]>
--- tests/functional/test_sparc64_tuxrun.py | 1 + 1 file changed, 1 insertion(+)
tests/functional/test_sparc64_tuxrun.py +1 -0
@@ -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,
Signature · 1 line
2.49.0
Quoted 7 lines · Thomas Huth
From: Thomas Huth <[email protected]>
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 <[email protected]>
Reviewed-by Alex Bennée <[email protected]>
Tested-by Alex Bennée <[email protected]>
Signature · 2 lines
Alex Bennée Virtualisation Tech Lead @ Linaro