summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/cpu_queries.py
diff options
context:
space:
mode:
authorCleber Rosa2019-11-04 16:13:18 +0100
committerCleber Rosa2019-12-16 17:23:19 +0100
commitba21bde930f50360b135268e4e69a0ad561ddca2 (patch)
tree466a9e9766c567d09642a8eb093ce64a6cf60b31 /tests/acceptance/cpu_queries.py
parentAcceptance tests: introduce utility method for tags unique vals (diff)
downloadqemu-ba21bde930f50360b135268e4e69a0ad561ddca2.tar.gz
qemu-ba21bde930f50360b135268e4e69a0ad561ddca2.tar.xz
qemu-ba21bde930f50360b135268e4e69a0ad561ddca2.zip
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/cpu_queries.py')
-rw-r--r--tests/acceptance/cpu_queries.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
index af47d2795a..293dccb89a 100644
--- a/tests/acceptance/cpu_queries.py
+++ b/tests/acceptance/cpu_queries.py
@@ -20,8 +20,8 @@ class QueryCPUModelExpansion(Test):
def test(self):
"""
:avocado: tags=arch:x86_64
+ :avocado: tags=machine:none
"""
- self.vm.set_machine('none')
self.vm.add_args('-S')
self.vm.launch()