drc_proto: report rule hits only for rule-driven tests

This commit is contained in:
Tomasz Wlostowski 2020-09-07 21:06:31 +02:00
parent 0ef6d85a1f
commit 1cd349c8f6
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ void test::DRC_TEST_PROVIDER::accountCheck( const test::DRC_CONSTRAINT& constrai
void test::DRC_TEST_PROVIDER::reportRuleStatistics()
{
if( !m_isRuleDriven )
return;
m_drcEngine->ReportAux("Rule hit statistics: ");
for( auto stat : m_stats )
{