ENH: now limits warnings and error report to 50 each
This commit is contained in:
parent
6207a6d0ed
commit
ba892527a8
|
@ -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++ )
|
||||||
|
|
Loading…
Reference in New Issue