@ -65,8 +65,11 @@ BOOST_FIXTURE_TEST_CASE( DRCFalsePositiveRegressions, DRC_REGRESSION_TEST_FIXTUR
std : : vector < DRC_ITEM > violations ;
BOARD_DESIGN_SETTINGS & bds = m_board - > GetDesignSettings ( ) ;
// Disable DRC tests not useful in this testcase
bds . m_DRCSeverities [ DRCE_INVALID_OUTLINE ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCSeverities [ DRCE_UNCONNECTED_ITEMS ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCSeverities [ DRCE_COPPER_SLIVER ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCSeverities [ DRCE_STARVED_THERMAL ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCEngine - > SetViolationHandler (
[ & ] ( const std : : shared_ptr < DRC_ITEM > & aItem , VECTOR2I aPos , PCB_LAYER_ID aLayer )
@ -124,6 +127,11 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
std : : vector < DRC_ITEM > violations ;
BOARD_DESIGN_SETTINGS & bds = m_board - > GetDesignSettings ( ) ;
// Disable DRC tests not useful in this testcase
bds . m_DRCSeverities [ DRCE_COPPER_SLIVER ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCSeverities [ DRCE_STARVED_THERMAL ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCSeverities [ DRCE_LIB_FOOTPRINT_ISSUES ] = SEVERITY : : RPT_SEVERITY_IGNORE ;
bds . m_DRCEngine - > SetViolationHandler (
[ & ] ( const std : : shared_ptr < DRC_ITEM > & aItem , VECTOR2I aPos , PCB_LAYER_ID aLayer )
{
@ -149,7 +157,7 @@ BOOST_FIXTURE_TEST_CASE( DRCFalseNegativeRegressions, DRC_REGRESSION_TEST_FIXTUR
for ( const DRC_ITEM & item : violations )
{
BOOST_TEST_MESSAGE ( item . ShowReport ( EDA_UNITS : : INCHES , RPT_SEVERITY_ERROR ,
BOOST_TEST_MESSAGE ( item . ShowReport ( EDA_UNITS : : INCHES , RPT_SEVERITY_ERROR ,
itemMap ) ) ;
}