瀏覽代碼

temp remove of optimization internal ctest use putenv causing trouble on cygwin

Bill Hoffman 22 年之前
父節點
當前提交
a0afa50252
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmCTest.cxx

+ 2 - 1
Source/cmCTest.cxx

@@ -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)
 {
   std::string cmd = argv[0];
+#if 0
   if(cmSystemTools::SameFile(argv[0], m_CTestSelf.c_str()))
     {
     cmCTest inst;
@@ -2840,7 +2841,7 @@ int cmCTest::RunTest(std::vector<const char*> argv, std::string* output, int *re
       }
     return cmsysProcess_State_Exited;
     }
-  
+#endif  
   std::vector<char> tempOutput;
   if ( output )
     {