[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 05/29] tests/acceptance: Restrict X86CPUModelAliases test to Q

From: Philippe Mathieu-Daudé
Subject: [PATCH v2 05/29] tests/acceptance: Restrict X86CPUModelAliases test to QEMU >= 4.1
Date: Wed, 29 Jan 2020 22:23:21 +0100

The 'alias-of' option has been introduced with QEMU 4.1 (see
commit 7d753f61544). By using the 'version-min' Avocado tag
we can restrict this test to versions >= 4.1.

This fixes when running the test with a older QEMU:

ERROR: 'alias-of' (0.45 s)

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
 tests/acceptance/x86_cpu_model_versions.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/acceptance/x86_cpu_model_versions.py 
index 90558d9a71..e7604bab7c 100644
--- a/tests/acceptance/x86_cpu_model_versions.py
+++ b/tests/acceptance/x86_cpu_model_versions.py
@@ -30,6 +30,7 @@ class X86CPUModelAliases(avocado_qemu.Test):
     Validation of PC CPU model versions and CPU model aliases
     :avocado: tags=arch:x86_64
+    :avocado: tags=version-min:4.1
     def validate_aliases(self, cpus):
         for c in cpus.values():

reply via email to

[Prev in Thread] Current Thread [Next in Thread]