test_drc_copper_conn: print more info if a test fails.

This commit is contained in:
jean-pierre charras 2022-08-08 16:19:26 +02:00
parent 842c8df4c3
commit f0c58ccdc1
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ BOOST_FIXTURE_TEST_CASE( DRCCopperConn, DRC_REGRESSION_TEST_FIXTURE )
itemMap ) );
}
BOOST_ERROR( wxString::Format( "DRC connection width: %s, failed", test.first ) );
BOOST_ERROR( wxString::Format( "DRC connection width: %s, failed (violations found %d expected %d)",
test.first, (int)violations.size(), test.second ) );
}
}
}