Fix ctest output alignment for cases where total tests run is not the same width as max test index.
This commit is contained in:
parent
f1e6726668
commit
727fa7bcb6
Source/CTest
|
@ -301,7 +301,7 @@ bool cmCTestRunTest::StartTest(size_t total)
|
||||||
{
|
{
|
||||||
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
|
cmCTestLog(this->CTest, HANDLER_OUTPUT, std::setw(2*getNumWidth(total) + 8)
|
||||||
<< "Start "
|
<< "Start "
|
||||||
<< std::setw(getNumWidth(total))
|
<< std::setw(getNumWidth(this->TestHandler->GetMaxIndex()))
|
||||||
<< this->TestProperties->Index << ": "
|
<< this->TestProperties->Index << ": "
|
||||||
<< this->TestProperties->Name << std::endl);
|
<< this->TestProperties->Name << std::endl);
|
||||||
this->ComputeArguments();
|
this->ComputeArguments();
|
||||||
|
|
Loading…
Reference in New Issue