From 70363cbf8f24e3cb7b340095130777ccf1a16ca3 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 10 Feb 2009 14:19:50 -0500 Subject: BUG: partial fix for 8056 -W now works with -j --- Source/CTest/cmCTestMultiProcessHandler.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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 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; -- cgit v0.12