ENH: now limits warnings and error report to 50 each

This commit is contained in:
Ken Martin 2005-01-12 13:58:00 -05:00
parent 6207a6d0ed
commit ba892527a8
1 changed files with 2 additions and 2 deletions

View File

@ -465,8 +465,8 @@ void cmCTestBuildHandler::GenerateDartBuildOutput(
std::vector<cmCTestBuildErrorWarning>::iterator it; std::vector<cmCTestBuildErrorWarning>::iterator it;
// only report the first 50 warnings and first 50 errors // only report the first 50 warnings and first 50 errors
unsigned short numErrorsAllowed = 2; unsigned short numErrorsAllowed = 50;
unsigned short numWarningsAllowed = 10; unsigned short numWarningsAllowed = 50;
for ( it = ew.begin(); for ( it = ew.begin();
it != ew.end() && (numErrorsAllowed || numWarningsAllowed); it++ ) it != ew.end() && (numErrorsAllowed || numWarningsAllowed); it++ )