[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/15] tests/unit/test-smp-parse: Fix an invalid topology case
From: |
Thomas Huth |
Subject: |
[PULL 09/15] tests/unit/test-smp-parse: Fix an invalid topology case |
Date: |
Wed, 12 Jun 2024 15:20:49 +0200 |
From: Zhao Liu <zhao1.liu@intel.com>
Adjust the "cpus" parameter to match the comment configuration.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Message-ID: <20240529061925.350323-4-zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/unit/test-smp-parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/test-smp-parse.c b/tests/unit/test-smp-parse.c
index c9cbc89c21..5d99e0d923 100644
--- a/tests/unit/test-smp-parse.c
+++ b/tests/unit/test-smp-parse.c
@@ -528,7 +528,7 @@ static const struct SMPTestData data_full_topo_invalid[] = {
* config: -smp 1,drawers=3,books=5,sockets=2,dies=4,\
* clusters=2,cores=7,threads=3,maxcpus=5040
*/
- .config = SMP_CONFIG_WITH_FULL_TOPO(3361, 3, 5, 2, 4, 2, 7, 3, 5040),
+ .config = SMP_CONFIG_WITH_FULL_TOPO(1, 3, 5, 2, 4, 2, 7, 3, 5040),
.expect_error = "Invalid SMP CPUs 5040. The max CPUs supported "
"by machine '" SMP_MACHINE_NAME "' is 4096",
},
--
2.45.2
- [PULL 00/15] CPU-related test updates, Thomas Huth, 2024/06/12
- [PULL 01/15] tests/avocado: Update LoongArch bios file, Thomas Huth, 2024/06/12
- [PULL 03/15] tests/qtest/libqtest: add qtest_has_cpu_model() api, Thomas Huth, 2024/06/12
- [PULL 02/15] qtest/x86/numa-test: do not use the obsolete 'pentium' cpu, Thomas Huth, 2024/06/12
- [PULL 04/15] tests/qtest/x86: check for availability of older cpu models before running tests, Thomas Huth, 2024/06/12
- [PULL 05/15] meson: Remove libibumad dependence, Thomas Huth, 2024/06/12
- [PULL 06/15] test: Remove libibumad dependence, Thomas Huth, 2024/06/12
- [PULL 10/15] tests/unit/test-smp-parse: Use default parameters=0 when not set in -smp, Thomas Huth, 2024/06/12
- [PULL 11/15] tests/unit/test-smp-parse: Make test cases aware of module level, Thomas Huth, 2024/06/12
- [PULL 09/15] tests/unit/test-smp-parse: Fix an invalid topology case,
Thomas Huth <=
- [PULL 08/15] tests/unit/test-smp-parse: Fix comment of parameters=1 case, Thomas Huth, 2024/06/12
- [PULL 13/15] tests/unit/test-smp-parse: Test "modules" and "dies" combination case, Thomas Huth, 2024/06/12
- [PULL 07/15] tests/unit/test-smp-parse: Fix comments of drawers and books case, Thomas Huth, 2024/06/12
- [PULL 15/15] tests/tcg/s390x: Allow specifying extra QEMU options on the command line, Thomas Huth, 2024/06/12
- [PULL 14/15] tests/unit/test-smp-parse: Test the full 8-levels topology hierarchy, Thomas Huth, 2024/06/12
- [PULL 12/15] tests/unit/test-smp-parse: Test "modules" parameter in -smp, Thomas Huth, 2024/06/12
- Re: [PULL 00/15] CPU-related test updates, Richard Henderson, 2024/06/14