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