QA: show violation info before failing DRC regressions
This commit is contained in:
parent
06581c964b
commit
1b9062bd9f
|
@ -173,8 +173,6 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
|
|||
}
|
||||
else
|
||||
{
|
||||
BOOST_CHECK_EQUAL( violations.size(), entry.second );
|
||||
|
||||
UNITS_PROVIDER unitsProvider( pcbIUScale, EDA_UNITS::INCHES );
|
||||
|
||||
std::map<KIID, EDA_ITEM*> itemMap;
|
||||
|
@ -186,6 +184,8 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
|
|||
itemMap ) );
|
||||
}
|
||||
|
||||
BOOST_CHECK_EQUAL( violations.size(), entry.second );
|
||||
|
||||
BOOST_ERROR( wxString::Format( "DRC regression: %s, failed", entry.first ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue