tests/acceptance: Specify arch for QueryCPUModelExpansion
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 18 Sep 2019 07:06:54 +0000 (17:06 +1000)
committerCleber Rosa <crosa@redhat.com>
Thu, 19 Sep 2019 01:28:40 +0000 (21:28 -0400)
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>
tests/acceptance/cpu_queries.py

index e71edec39fcbd98f178c55b7215479a53b67ccaa..af47d2795a1d19a7bc7f2b555b831783b3e5fe9d 100644 (file)
@@ -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()