[cmake-commits] hoffman committed cmCTestBuildHandler.cxx 1.42.2.5 1.42.2.6

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Nov 10 10:12:58 EST 2006


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

Modified Files:
      Tag: CMake-2-4
	cmCTestBuildHandler.cxx 
Log Message:
ENH: merge from main tree fix for vs all build qt and mpi2


Index: cmCTestBuildHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBuildHandler.cxx,v
retrieving revision 1.42.2.5
retrieving revision 1.42.2.6
diff -u -d -r1.42.2.5 -r1.42.2.6
--- cmCTestBuildHandler.cxx	27 Oct 2006 20:01:49 -0000	1.42.2.5
+++ cmCTestBuildHandler.cxx	10 Nov 2006 15:12:55 -0000	1.42.2.6
@@ -833,7 +833,8 @@
         {
         // This is not an error or warning.
         // So, figure out if this is a post-context line
-        if ( this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
+        if ( this->ErrorsAndWarnings.size() && 
+             this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
           this->PostContextCount < this->MaxPostContext )
           {
           this->PostContextCount ++;



More information about the Cmake-commits mailing list