temp remove of optimization internal ctest use putenv causing trouble on cygwin
This commit is contained in:
parent
baadc0a361
commit
a0afa50252
|
@ -2821,6 +2821,7 @@ int cmCTest::RunMakeCommand(const char* command, std::string* output,
|
||||||
int cmCTest::RunTest(std::vector<const char*> argv, std::string* output, int *retVal)
|
int cmCTest::RunTest(std::vector<const char*> argv, std::string* output, int *retVal)
|
||||||
{
|
{
|
||||||
std::string cmd = argv[0];
|
std::string cmd = argv[0];
|
||||||
|
#if 0
|
||||||
if(cmSystemTools::SameFile(argv[0], m_CTestSelf.c_str()))
|
if(cmSystemTools::SameFile(argv[0], m_CTestSelf.c_str()))
|
||||||
{
|
{
|
||||||
cmCTest inst;
|
cmCTest inst;
|
||||||
|
@ -2840,7 +2841,7 @@ int cmCTest::RunTest(std::vector<const char*> argv, std::string* output, int *re
|
||||||
}
|
}
|
||||||
return cmsysProcess_State_Exited;
|
return cmsysProcess_State_Exited;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
std::vector<char> tempOutput;
|
std::vector<char> tempOutput;
|
||||||
if ( output )
|
if ( output )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue