From ed3bc6c262a1122b42cd779bd2c4ca337a16d23e Mon Sep 17 00:00:00 2001 From: AJIOB Date: Sat, 26 Sep 2026 20:13:39 +0000 Subject: [PATCH] CTest: fix countField value for non-first test run --- Source/CTest/cmCTestRunTest.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index 1a35d51263..1358a93ac0 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -996,8 +996,7 @@ void cmCTestRunTest::WriteLogOutputTop(size_t completed, size_t total) // if this is one of several runs of a test just print blank space // to keep things neat else { - countField = - cmStrCat(cmPadToWidth(numWidth, " "), cmPadToWidth(numWidth, " ")); + countField = cmPadToWidth(2 * numWidth + 2, " "); } std::string indexStr = cmStrCat(" #", this->Index, ':');