diff mbox series

[1/3] tests/acceptance: Specify arch for QueryCPUModelExpansion

Message ID 20190613060728.26955-2-david@gibson.dropbear.id.au
State New, archived
Headers show
Series Some fixes for make check-acceptance on a POWER host | expand

Commit Message

David Gibson June 13, 2019, 6:07 a.m. UTC
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>
---
 tests/acceptance/cpu_queries.py | 3 +++
 1 file changed, 3 insertions(+)

Comments

Wainer dos Santos Moschetta June 19, 2019, 5:24 p.m. UTC | #1
On 06/13/2019 03:07 AM, David Gibson wrote:
> 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>
> ---
>   tests/acceptance/cpu_queries.py | 3 +++
>   1 file changed, 3 insertions(+)

Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>

>
> diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
> index e71edec39f..af47d2795a 100644
> --- a/tests/acceptance/cpu_queries.py
> +++ b/tests/acceptance/cpu_queries.py
> @@ -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()
diff mbox series

Patch

diff --git a/tests/acceptance/cpu_queries.py b/tests/acceptance/cpu_queries.py
index e71edec39f..af47d2795a 100644
--- a/tests/acceptance/cpu_queries.py
+++ b/tests/acceptance/cpu_queries.py
@@ -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()