]> xenbits.xensource.com Git - libvirt.git/commitdiff
cputest: Rename nehalem-force to penryn-force
authorJiri Denemark <jdenemar@redhat.com>
Thu, 2 Jun 2016 08:17:22 +0000 (10:17 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 9 Jun 2016 10:15:23 +0000 (12:15 +0200)
The actual CPU model in the data files is Penryn which makes the file
name look rather strange. Well, one of them contains Nehalem, but that's
a bug which will be fixed soon.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tests/cputest.c
tests/cputestdata/x86-host+nehalem-force-result.xml [deleted file]
tests/cputestdata/x86-host+penryn-force-result.xml [new file with mode: 0644]
tests/cputestdata/x86-nehalem-force.xml [deleted file]
tests/cputestdata/x86-penryn-force.xml [new file with mode: 0644]

index 3682101597fd20a14ec335a79a2818bf3811b875..f68a3ec8f17c24e8be37758b1d298d1137ce3cac 100644 (file)
@@ -749,7 +749,7 @@ mymain(void)
     DO_TEST_COMPARE("x86", "host", "guest", VIR_CPU_COMPARE_SUPERSET);
     DO_TEST_COMPARE("x86", "host", "pentium3-amd", VIR_CPU_COMPARE_INCOMPATIBLE);
     DO_TEST_COMPARE("x86", "host-amd", "pentium3-amd", VIR_CPU_COMPARE_SUPERSET);
-    DO_TEST_COMPARE("x86", "host-worse", "nehalem-force", VIR_CPU_COMPARE_IDENTICAL);
+    DO_TEST_COMPARE("x86", "host-worse", "penryn-force", VIR_CPU_COMPARE_IDENTICAL);
     DO_TEST_COMPARE("x86", "host-SandyBridge", "exact-force-Haswell", VIR_CPU_COMPARE_IDENTICAL);
 
     DO_TEST_COMPARE("ppc64", "host", "guest-strict", VIR_CPU_COMPARE_IDENTICAL);
@@ -820,7 +820,7 @@ mymain(void)
     DO_TEST_GUESTDATA("x86", "host-better", "pentium3", NULL, "core2duo", 0);
     DO_TEST_GUESTDATA("x86", "host-worse", "guest", NULL, NULL, 0);
     DO_TEST_GUESTDATA("x86", "host", "strict-force-extra", NULL, NULL, 0);
-    DO_TEST_GUESTDATA("x86", "host", "nehalem-force", NULL, NULL, 0);
+    DO_TEST_GUESTDATA("x86", "host", "penryn-force", NULL, NULL, 0);
     DO_TEST_GUESTDATA("x86", "host", "guest", model486, NULL, 0);
     DO_TEST_GUESTDATA("x86", "host", "guest", models, NULL, 0);
     DO_TEST_GUESTDATA("x86", "host", "guest", models, "Penryn", 0);
diff --git a/tests/cputestdata/x86-host+nehalem-force-result.xml b/tests/cputestdata/x86-host+nehalem-force-result.xml
deleted file mode 100644 (file)
index 000bc0d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<cpu mode='custom' match='exact'>
-  <arch>x86_64</arch>
-  <model fallback='allow'>Nehalem</model>
-</cpu>
diff --git a/tests/cputestdata/x86-host+penryn-force-result.xml b/tests/cputestdata/x86-host+penryn-force-result.xml
new file mode 100644 (file)
index 0000000..000bc0d
--- /dev/null
@@ -0,0 +1,4 @@
+<cpu mode='custom' match='exact'>
+  <arch>x86_64</arch>
+  <model fallback='allow'>Nehalem</model>
+</cpu>
diff --git a/tests/cputestdata/x86-nehalem-force.xml b/tests/cputestdata/x86-nehalem-force.xml
deleted file mode 100644 (file)
index 12fd274..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<cpu match='exact'>
-  <model>Penryn</model>
-  <feature name='popcnt' policy='force'/>
-  <feature name='sse4.2' policy='force'/>
-</cpu>
diff --git a/tests/cputestdata/x86-penryn-force.xml b/tests/cputestdata/x86-penryn-force.xml
new file mode 100644 (file)
index 0000000..12fd274
--- /dev/null
@@ -0,0 +1,5 @@
+<cpu match='exact'>
+  <model>Penryn</model>
+  <feature name='popcnt' policy='force'/>
+  <feature name='sse4.2' policy='force'/>
+</cpu>