summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-07 15:36:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-07 15:36:09 (GMT)
commitccac51a5cb904e675db7306b19cf3ce946d7b4ae (patch)
tree133b6f7483e1e41541fdc09d3ec98f0de318b91b /Source/CTest/cmCTestBuildHandler.cxx
parente853caaf6128fcd6b579a80059a692d71e55f73a (diff)
downloadCMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.zip
CMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.tar.gz
CMake-ccac51a5cb904e675db7306b19cf3ce946d7b4ae.tar.bz2
ENH: Add support for setting the maximum number of errors and warnings reported. This should fix Bug #2318 - The maximum number of errors to report is fixed to 50
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 0d59821..a724e18 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -226,6 +226,12 @@ void cmCTestBuildHandler::PopulateCustomVectors(cmMakefile *mf)
m_CustomWarningMatches);
cmCTest::PopulateCustomVector(mf, "CTEST_CUSTOM_WARNING_EXCEPTION",
m_CustomWarningExceptions);
+ cmCTest::PopulateCustomInteger(mf,
+ "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS",
+ m_MaxErrors);
+ cmCTest::PopulateCustomInteger(mf,
+ "CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS",
+ m_MaxWarnings);
}
//----------------------------------------------------------------------