aboutsummaryrefslogtreecommitdiff
path: root/tests/acceptance/machine_sparc_leon3.py
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2019-11-04 10:13:18 -0500
committerCleber Rosa <crosa@redhat.com>2019-12-16 11:23:19 -0500
commitba21bde930f50360b135268e4e69a0ad561ddca2 (patch)
tree466a9e9766c567d09642a8eb093ce64a6cf60b31 /tests/acceptance/machine_sparc_leon3.py
parentf108934fca0a5d6acfc93be6d3684574d18794e2 (diff)
Acceptance tests: use avocado tags for machine type
The same way the arch tag is being used as a fallback for the arch parameter, let's do the same for QEMU's machine and avoid some boiler plate code. This is now possible because, since Avocado 72.0, it's possible to use tags with names that match the machine types on QEMU. Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20191104151323.9883-4-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Cleber Rosa <crosa@redhat.com>
Diffstat (limited to 'tests/acceptance/machine_sparc_leon3.py')
-rw-r--r--tests/acceptance/machine_sparc_leon3.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/acceptance/machine_sparc_leon3.py b/tests/acceptance/machine_sparc_leon3.py
index 298f1e25e6..f77e210ccb 100644
--- a/tests/acceptance/machine_sparc_leon3.py
+++ b/tests/acceptance/machine_sparc_leon3.py
@@ -16,7 +16,7 @@ class Leon3Machine(Test):
def test_leon3_helenos_uimage(self):
"""
:avocado: tags=arch:sparc
- :avocado: tags=machine:leon3
+ :avocado: tags=machine:leon3_generic
:avocado: tags=binfmt:uimage
"""
kernel_url = ('http://www.helenos.org/releases/'
@@ -24,7 +24,6 @@ class Leon3Machine(Test):
kernel_hash = 'a88c9cfdb8430c66650e5290a08765f9bf049a30'
kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
- self.vm.set_machine('leon3_generic')
self.vm.set_console()
self.vm.add_args('-kernel', kernel_path)