[Cmake-commits] [cmake-commits] hoffman committed cmCTest.cxx 1.339 1.340

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Nov 23 10:49:48 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26609/Source

Modified Files:
	cmCTest.cxx 
Log Message:
ENH: add more debug stuff to CTestCTest2  so I can figure out redwall


Index: cmCTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.cxx,v
retrieving revision 1.339
retrieving revision 1.340
diff -C 2 -d -r1.339 -r1.340
*** cmCTest.cxx	1 Oct 2008 13:04:26 -0000	1.339
--- cmCTest.cxx	23 Nov 2008 15:49:45 -0000	1.340
***************
*** 1982,1985 ****
--- 1982,1990 ----
      cmDynamicLoader::FlushCache();
  #endif
+     if(retv != 0)
+       {
+       cmCTestLog(this, DEBUG, "build and test failing returing: " << retv 
+                  << std::endl);
+       }
      return retv;
      }
***************
*** 2006,2009 ****
--- 2011,2020 ----
        this->GetHandler("script")->SetVerbose(this->Verbose);
        res = this->GetHandler("script")->ProcessHandler();
+       if(res != 0)
+         {
+         cmCTestLog(this, DEBUG, "running script failing returing: " << res 
+                    << std::endl);
+         }
+ 
        }
      else
***************
*** 2034,2037 ****
--- 2045,2053 ----
        this->Finalize();
        }
+     if(res != 0)
+       {
+       cmCTestLog(this, DEBUG, "Running a test(s) failed returning : " << res 
+                  << std::endl);
+       }
      return res;
      }



More information about the Cmake-commits mailing list