|
|
abb18f |
From 89272567fd9e2b87133333f5565c1d9e2befb350 Mon Sep 17 00:00:00 2001
|
|
|
abb18f |
Message-Id: <89272567fd9e2b87133333f5565c1d9e2befb350@dist-git>
|
|
|
abb18f |
From: Jiri Denemark <jdenemar@redhat.com>
|
|
|
abb18f |
Date: Wed, 4 May 2022 16:28:03 +0200
|
|
|
abb18f |
Subject: [PATCH] cputest: Give better names to baseline tests
|
|
|
abb18f |
|
|
|
abb18f |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
abb18f |
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
abb18f |
(cherry picked from commit 3daa68e26514dc114d71f4c44f7d728e93a53cd0)
|
|
|
abb18f |
|
|
|
abb18f |
https://bugzilla.redhat.com/show_bug.cgi?id=2084030
|
|
|
abb18f |
|
|
|
abb18f |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
abb18f |
---
|
|
|
abb18f |
tests/cputest.c | 12 ++++++------
|
|
|
abb18f |
... x86_64-baseline-Westmere+Nehalem-migratable.xml} | 0
|
|
|
abb18f |
...l => x86_64-baseline-Westmere+Nehalem-result.xml} | 0
|
|
|
abb18f |
...ne-6.xml => x86_64-baseline-Westmere+Nehalem.xml} | 0
|
|
|
abb18f |
...ded.xml => x86_64-baseline-features-expanded.xml} | 0
|
|
|
abb18f |
...esult.xml => x86_64-baseline-features-result.xml} | 0
|
|
|
abb18f |
...4-baseline-4.xml => x86_64-baseline-features.xml} | 0
|
|
|
abb18f |
...anded.xml => x86_64-baseline-simple-expanded.xml} | 0
|
|
|
abb18f |
...-result.xml => x86_64-baseline-simple-result.xml} | 0
|
|
|
abb18f |
..._64-baseline-3.xml => x86_64-baseline-simple.xml} | 0
|
|
|
abb18f |
10 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-6-migratable.xml => x86_64-baseline-Westmere+Nehalem-migratable.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-6-result.xml => x86_64-baseline-Westmere+Nehalem-result.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-6.xml => x86_64-baseline-Westmere+Nehalem.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-4-expanded.xml => x86_64-baseline-features-expanded.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-4-result.xml => x86_64-baseline-features-result.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-4.xml => x86_64-baseline-features.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-3-expanded.xml => x86_64-baseline-simple-expanded.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-3-result.xml => x86_64-baseline-simple-result.xml} (100%)
|
|
|
abb18f |
rename tests/cputestdata/{x86_64-baseline-3.xml => x86_64-baseline-simple.xml} (100%)
|
|
|
abb18f |
|
|
|
abb18f |
diff --git a/tests/cputest.c b/tests/cputest.c
|
|
|
abb18f |
index 20d56836be..b939e20718 100644
|
|
|
abb18f |
--- a/tests/cputest.c
|
|
|
abb18f |
+++ b/tests/cputest.c
|
|
|
abb18f |
@@ -1051,12 +1051,12 @@ mymain(void)
|
|
|
abb18f |
DO_TEST_BASELINE(VIR_ARCH_X86_64, "incompatible-vendors", 0, -1);
|
|
|
abb18f |
DO_TEST_BASELINE(VIR_ARCH_X86_64, "no-vendor", 0, 0);
|
|
|
abb18f |
DO_TEST_BASELINE(VIR_ARCH_X86_64, "some-vendors", 0, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "3", 0, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "3", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "4", 0, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "4", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "6", 0, 0);
|
|
|
abb18f |
- DO_TEST_BASELINE(VIR_ARCH_X86_64, "6", VIR_CONNECT_BASELINE_CPU_MIGRATABLE, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "simple", 0, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "simple", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "features", 0, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "features", VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "Westmere+Nehalem", 0, 0);
|
|
|
abb18f |
+ DO_TEST_BASELINE(VIR_ARCH_X86_64, "Westmere+Nehalem", VIR_CONNECT_BASELINE_CPU_MIGRATABLE, 0);
|
|
|
abb18f |
|
|
|
abb18f |
DO_TEST_BASELINE(VIR_ARCH_PPC64, "incompatible-vendors", 0, -1);
|
|
|
abb18f |
DO_TEST_BASELINE(VIR_ARCH_PPC64, "no-vendor", 0, 0);
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-6-migratable.xml b/tests/cputestdata/x86_64-baseline-Westmere+Nehalem-migratable.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-6-migratable.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-Westmere+Nehalem-migratable.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-6-result.xml b/tests/cputestdata/x86_64-baseline-Westmere+Nehalem-result.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-6-result.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-Westmere+Nehalem-result.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-6.xml b/tests/cputestdata/x86_64-baseline-Westmere+Nehalem.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-6.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-Westmere+Nehalem.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-4-expanded.xml b/tests/cputestdata/x86_64-baseline-features-expanded.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-4-expanded.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-features-expanded.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-4-result.xml b/tests/cputestdata/x86_64-baseline-features-result.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-4-result.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-features-result.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-4.xml b/tests/cputestdata/x86_64-baseline-features.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-4.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-features.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-3-expanded.xml b/tests/cputestdata/x86_64-baseline-simple-expanded.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-3-expanded.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-simple-expanded.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-3-result.xml b/tests/cputestdata/x86_64-baseline-simple-result.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-3-result.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-simple-result.xml
|
|
|
abb18f |
diff --git a/tests/cputestdata/x86_64-baseline-3.xml b/tests/cputestdata/x86_64-baseline-simple.xml
|
|
|
abb18f |
similarity index 100%
|
|
|
abb18f |
rename from tests/cputestdata/x86_64-baseline-3.xml
|
|
|
abb18f |
rename to tests/cputestdata/x86_64-baseline-simple.xml
|
|
|
abb18f |
--
|
|
|
abb18f |
2.35.1
|
|
|
abb18f |
|