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:
parent
98710e2742
commit
6e54856e67
|
@ -90,7 +90,7 @@ bool DRC_TEST_PROVIDER_SILK_CLEARANCE::Run()
|
||||||
if( m_drcEngine->IsErrorLimitExceeded( DRCE_OVERLAPPING_SILK ) )
|
if( m_drcEngine->IsErrorLimitExceeded( DRCE_OVERLAPPING_SILK ) )
|
||||||
{
|
{
|
||||||
reportAux( "Silkscreen clearance testing not run." );
|
reportAux( "Silkscreen clearance testing not run." );
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_drcEngine->QueryWorstConstraint( DRC_CONSTRAINT_TYPE_SILK_CLEARANCE,
|
if( m_drcEngine->QueryWorstConstraint( DRC_CONSTRAINT_TYPE_SILK_CLEARANCE,
|
||||||
|
|
|
@ -87,7 +87,7 @@ bool DRC_TEST_PROVIDER_SILK_TO_MASK::Run()
|
||||||
if( m_drcEngine->IsErrorLimitExceeded( DRCE_SILK_MASK_CLEARANCE ) )
|
if( m_drcEngine->IsErrorLimitExceeded( DRCE_SILK_MASK_CLEARANCE ) )
|
||||||
{
|
{
|
||||||
reportAux( "Silkscreen clipping tests not run." );
|
reportAux( "Silkscreen clipping tests not run." );
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
DRC_CONSTRAINT worstClearanceConstraint;
|
DRC_CONSTRAINT worstClearanceConstraint;
|
||||||
|
|
Loading…
Reference in New Issue