From f0c58ccdc17d6abb88051cd7666c37fcc993dafb Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 8 Aug 2022 16:19:26 +0200 Subject: [PATCH] test_drc_copper_conn: print more info if a test fails. --- qa/unittests/pcbnew/drc/test_drc_copper_conn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/unittests/pcbnew/drc/test_drc_copper_conn.cpp b/qa/unittests/pcbnew/drc/test_drc_copper_conn.cpp index d70196cf42..d185879530 100644 --- a/qa/unittests/pcbnew/drc/test_drc_copper_conn.cpp +++ b/qa/unittests/pcbnew/drc/test_drc_copper_conn.cpp @@ -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 ) ); } } }