Don't halt other tests when one test's max is reached.

Fixes https://gitlab.com/kicad/code/kicad/issues/6035
This commit is contained in:
Jeff Young 2020-10-17 11:27:27 +01:00
parent 98710e2742
commit 6e54856e67
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ bool DRC_TEST_PROVIDER_SILK_CLEARANCE::Run()
if( m_drcEngine->IsErrorLimitExceeded( DRCE_OVERLAPPING_SILK ) )
{
reportAux( "Silkscreen clearance testing not run." );
return false;
return true;
}
if( m_drcEngine->QueryWorstConstraint( DRC_CONSTRAINT_TYPE_SILK_CLEARANCE,

View File

@ -87,7 +87,7 @@ bool DRC_TEST_PROVIDER_SILK_TO_MASK::Run()
if( m_drcEngine->IsErrorLimitExceeded( DRCE_SILK_MASK_CLEARANCE ) )
{
reportAux( "Silkscreen clipping tests not run." );
return false;
return true;
}
DRC_CONSTRAINT worstClearanceConstraint;