summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index dff0e91..56800e9 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -83,6 +83,13 @@ void cmCTestMultiProcessHandler::StartTestProcess(int test)
newp->SetId(test);
newp->SetCommand(this->CTestCommand.c_str());
std::vector<std::string> args;
+ cmOStringStream width;
+ if(this->CTest->GetMaxTestNameWidth())
+ {
+ args.push_back("-W");
+ width << this->CTest->GetMaxTestNameWidth();
+ args.push_back(width.str().c_str());
+ }
args.push_back("-I");
cmOStringStream strm;
strm << test << "," << test;