summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-02-10 19:19:50 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-02-10 19:19:50 (GMT)
commit70363cbf8f24e3cb7b340095130777ccf1a16ca3 (patch)
tree5cc0971d128cf26d9e8b96e03b2c2bea7c58b00d /Source/CTest
parent016d17f0cb314056f622ddb65dbad8236f77e348 (diff)
downloadCMake-70363cbf8f24e3cb7b340095130777ccf1a16ca3.zip
CMake-70363cbf8f24e3cb7b340095130777ccf1a16ca3.tar.gz
CMake-70363cbf8f24e3cb7b340095130777ccf1a16ca3.tar.bz2
BUG: partial fix for 8056 -W now works with -j
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;