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

This commit is contained in:
Andy Cedilnik 2005-10-07 11:36:09 -04:00
parent e853caaf61
commit ccac51a5cb

View File

@ -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);
}
//----------------------------------------------------------------------