提交 b0c57e1c 编写于 作者: E Eduardo Habkost

cpuid: Try to test everything by default

Instead of skipping test cases when the QEMU version or host CPU is
unknown, try to test everything. Unavailable CPU models and
machine-types will generate a SKIP test result, anyway.

There are 473 qemu_cpu test cases, and most of them take around 3
seconds to run.
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
上级 151c0f38
......@@ -154,7 +154,7 @@
# config file section somewhere
variants:
- machine.rhel:
only (qemu_flavor = rhel)
only (qemu_flavor = rhel), (qemu_flavor = unknown)
variants:
- rhel600:
machine_type_to_check = "rhel6.0.0"
......@@ -169,7 +169,7 @@
- rhel650:
machine_type_to_check = "rhel6.5.0"
- machine.upstream:
only (qemu_flavor = upstream)
only (qemu_flavor = upstream), (qemu_flavor = unknown)
variants:
- pc_1_0:
machine_type_to_check = "pc-1.0"
......@@ -212,6 +212,8 @@
# we know those models won't run on Intel hosts on RHEL-6:
cpu.intel.486, cpu.intel.pentium, cpu.intel.pentium2, cpu.intel.pentium3:
no (rhel_major_version = 6)..(host_cpu_vendor = intel)
no (qemu_flavor = unknown)..(host_cpu_vendor = intel)
no (host_cpu_vendor = unknown)..(rhel_major_version = 6)
- force:
only cpu.intel.486, cpu.intel.pentium, cpu.intel.pentium2, cpu.intel.pentium3
cpu_model_flags += ",+apic"
......@@ -361,9 +363,6 @@
only cpu.unset
cpu_models = "*"
nokvm:
# we don't know if all models will be available if QEMU
# version is unknown:
no (qemu_flavor = unknown)
only cpu.intel cpu.amd
cpu.intel:
vendor = "GenuineIntel"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册