QA: show violation info before failing DRC regressions

This commit is contained in:
Jon Evans 2023-10-30 00:16:58 -04:00
parent 06581c964b
commit 1b9062bd9f
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) );
}
}