BUG: partial fix for 8056 -W now works with -j
This commit is contained in:
parent
016d17f0cb
commit
70363cbf8f
@ -83,6 +83,13 @@ void cmCTestMultiProcessHandler::StartTestProcess(int test)
|
|||||||
newp->SetId(test);
|
newp->SetId(test);
|
||||||
newp->SetCommand(this->CTestCommand.c_str());
|
newp->SetCommand(this->CTestCommand.c_str());
|
||||||
std::vector<std::string> args;
|
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");
|
args.push_back("-I");
|
||||||
cmOStringStream strm;
|
cmOStringStream strm;
|
||||||
strm << test << "," << test;
|
strm << test << "," << test;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user