diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-10 19:19:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-10 19:19:50 (GMT) |
commit | 70363cbf8f24e3cb7b340095130777ccf1a16ca3 (patch) | |
tree | 5cc0971d128cf26d9e8b96e03b2c2bea7c58b00d /Source/CTest | |
parent | 016d17f0cb314056f622ddb65dbad8236f77e348 (diff) | |
download | CMake-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.cxx | 7 |
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; |