Skip to content

Commit

Permalink
tests/acceptance: Specify arch for QueryCPUModelExpansion
Browse files Browse the repository at this point in the history
At the moment this test runs on whatever the host arch is.  But it looks
for 'unavailable-features' which is an x86 specific cpu property.  Tag it
to always use qemu-system-x86_64.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20190918070654.19356-1-david@gibson.dropbear.id.au>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
  • Loading branch information
dgibson authored and clebergnu committed Sep 19, 2019
1 parent f8c3db3 commit ab486ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/acceptance/cpu_queries.py
Expand Up @@ -18,6 +18,9 @@ class QueryCPUModelExpansion(Test):
"""

def test(self):
"""
:avocado: tags=arch:x86_64
"""
self.vm.set_machine('none')
self.vm.add_args('-S')
self.vm.launch()
Expand Down

0 comments on commit ab486ea

Please sign in to comment.