Skip to content

Instantly share code, notes, and snippets.

@ehabkost
Created February 14, 2013 18:43
Show Gist options
  • Save ehabkost/4955165 to your computer and use it in GitHub Desktop.
Save ehabkost/4955165 to your computer and use it in GitHub Desktop.
Config file where "nokvm" variants are all skipped
variants:
- unknown_qemu:
- rhel64:
- qemu13:
only unknown_qemu
variants:
- cpu.unset:
- cpu.set:
variants:
- 486:
- core2duo:
- cpu.amd:
variants:
- qemu64:
- phenom:
variants:
- kvm:
- nokvm:
enable_kvm = "no"
disable_kvm = "yes"
variants:
# CPUID data tests:
- cpuid:
# 486 is excluded due to not supporting cpuid
no 486
variants:
- default_vendor:
test_type = "default_vendor"
kvm:
vendor = "host"
# instead of running one test case per CPU model,
# run only one test that checks every single model,
# even the ones not listed in the "cpu.*" variants above
only cpu.unset
cpu_models = "*"
nokvm:
# we don't know if all models will be available if QEMU
# version is unknown:
no unknown_qemu
only cpu.intel cpu.amd
cpu.intel:
vendor = "GenuineIntel"
cpu.amd:
vendor = "AuthenticAMD"
- custom:
# the checks below will be run without setting the CPU model
# explicitly. they can be repeated for each known CPU model
# if removing the following line:
only cpu.unset
variants:
- vendor:
test_type = "custom_vendor"
variants:
- normal:
vendor = "QWERasdfZXCV"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment