[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:
tests/acceptance/x86_cpu_model_versions.py:X86CPUModelAliases.test_none_alias:
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
b/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():
--
2.21.1
- [PATCH v2 02/29] accel/accel: Make TYPE_ACCEL abstract, (continued)
[PATCH v2 05/29] tests/acceptance: Restrict X86CPUModelAliases test to QEMU >= 4.1,
Philippe Mathieu-Daudé <=
[PATCH v2 06/29] python/qemu: Add binutils::binary_get_arch(), Philippe Mathieu-Daudé, 2020/01/29
[PATCH v2 07/29] tests/acceptance: Use the 'arch' tag to verify QEMU binary target, Philippe Mathieu-Daudé, 2020/01/29
[PATCH v2 08/29] python/qemu: Add binutils::binary_get_machines(), Philippe Mathieu-Daudé, 2020/01/29
[PATCH v2 10/29] python/qemu: Add binutils::binary_get_qom_implementations(), Philippe Mathieu-Daudé, 2020/01/29
[PATCH v2 09/29] tests/acceptance: Use 'machine' tag to check if available in QEMU binary, Philippe Mathieu-Daudé, 2020/01/29
[PATCH v2 11/29] python/qemu: Add binutils::binary_get_accels(), Philippe Mathieu-Daudé, 2020/01/29