[Cmake-commits] [cmake-commits] king committed cmCTestBuildHandler.cxx 1.68 1.69

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 4 14:34:28 EST 2009


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

Modified Files:
	cmCTestBuildHandler.cxx 
Log Message:
ENH: Re-order generation of build summary and xml

This moves the error/warning count summary printed by
cmCTestBuildHandler to after Build.xml is generated.  Later we will
compute the counts during generation of the xml.


Index: cmCTestBuildHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBuildHandler.cxx,v
retrieving revision 1.68
retrieving revision 1.69
diff -C 2 -d -r1.68 -r1.69
*** cmCTestBuildHandler.cxx	4 Feb 2009 19:34:12 -0000	1.68
--- cmCTestBuildHandler.cxx	4 Feb 2009 19:34:25 -0000	1.69
***************
*** 458,469 ****
      }
  
-   // Display message about number of errors and warnings
-   cmCTestLog(this->CTest, HANDLER_OUTPUT, "   " << this->TotalErrors
-     << (this->TotalErrors >= this->MaxErrors ? " or more" : "")
-     << " Compiler errors" << std::endl);
-   cmCTestLog(this->CTest, HANDLER_OUTPUT, "   " << this->TotalWarnings
-     << (this->TotalWarnings >= this->MaxWarnings ? " or more" : "")
-     << " Compiler warnings" << std::endl);
- 
    // Generate XML output
    cmGeneratedFileStream xofs;
--- 458,461 ----
***************
*** 477,480 ****
--- 469,481 ----
    this->GenerateXMLLogScraped(xofs);
    this->GenerateXMLFooter(xofs, elapsed_build_time);
+ 
+   // Display message about number of errors and warnings
+   cmCTestLog(this->CTest, HANDLER_OUTPUT, "   " << this->TotalErrors
+     << (this->TotalErrors >= this->MaxErrors ? " or more" : "")
+     << " Compiler errors" << std::endl);
+   cmCTestLog(this->CTest, HANDLER_OUTPUT, "   " << this->TotalWarnings
+     << (this->TotalWarnings >= this->MaxWarnings ? " or more" : "")
+     << " Compiler warnings" << std::endl);
+ 
    return retVal;
  }



More information about the Cmake-commits mailing list