Merge topic 'ctest-launch-empty-rule'
6228abe CTest: Teach launcher to ignore empty/no-op make commands
This commit is contained in:
commit
3ef8929ee6
@ -220,6 +220,13 @@ void cmCTestLaunch::ComputeFileNames()
|
|||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmCTestLaunch::RunChild()
|
void cmCTestLaunch::RunChild()
|
||||||
{
|
{
|
||||||
|
// Ignore noopt make rules
|
||||||
|
if(this->RealArgs.empty() || this->RealArgs[0] == ":")
|
||||||
|
{
|
||||||
|
this->ExitCode = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Prepare to run the real command.
|
// Prepare to run the real command.
|
||||||
cmsysProcess* cp = this->Process;
|
cmsysProcess* cp = this->Process;
|
||||||
cmsysProcess_SetCommand(cp, this->RealArgV);
|
cmsysProcess_SetCommand(cp, this->RealArgV);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user