From e2525417a93ee9ddd336c94a5723d9f50758e492 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Wed, 1 Jun 2016 17:52:52 +0200 Subject: [PATCH] tests: Add CPU detection test for Intel Core i7-3520M Signed-off-by: Jiri Denemark --- tests/cputest.c | 1 + .../x86-cpuid-Core-i7-3520M-guest.xml | 23 +++++++++++++ .../x86-cpuid-Core-i7-3520M-host.xml | 23 +++++++++++++ tests/cputestdata/x86-cpuid-Core-i7-3520M.xml | 34 +++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 tests/cputestdata/x86-cpuid-Core-i7-3520M-guest.xml create mode 100644 tests/cputestdata/x86-cpuid-Core-i7-3520M-host.xml create mode 100644 tests/cputestdata/x86-cpuid-Core-i7-3520M.xml diff --git a/tests/cputest.c b/tests/cputest.c index fdf64efb9e..d3015e4929 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -853,6 +853,7 @@ mymain(void) DO_TEST_CPUID("x86", "Core-i5-4670T", true); DO_TEST_CPUID("x86", "Core-i5-6600", true); DO_TEST_CPUID("x86", "Core-i7-2600", true); + DO_TEST_CPUID("x86", "Core-i7-3520M", false); #if WITH_QEMU && WITH_YAJL qemuTestDriverFree(&driver); diff --git a/tests/cputestdata/x86-cpuid-Core-i7-3520M-guest.xml b/tests/cputestdata/x86-cpuid-Core-i7-3520M-guest.xml new file mode 100644 index 0000000000..f5125d47ce --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i7-3520M-guest.xml @@ -0,0 +1,23 @@ + + x86_64 + IvyBridge + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i7-3520M-host.xml b/tests/cputestdata/x86-cpuid-Core-i7-3520M-host.xml new file mode 100644 index 0000000000..80d3a9d820 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i7-3520M-host.xml @@ -0,0 +1,23 @@ + + x86_64 + IvyBridge + Intel + + + + + + + + + + + + + + + + + + + diff --git a/tests/cputestdata/x86-cpuid-Core-i7-3520M.xml b/tests/cputestdata/x86-cpuid-Core-i7-3520M.xml new file mode 100644 index 0000000000..3010468270 --- /dev/null +++ b/tests/cputestdata/x86-cpuid-Core-i7-3520M.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab