diff --git a/include/core/typeinfo.h b/include/core/typeinfo.h index e8c572fc93..5d19e48279 100644 --- a/include/core/typeinfo.h +++ b/include/core/typeinfo.h @@ -395,6 +395,7 @@ constexpr bool IsPcbnewType( const KICAD_T aType ) case PCB_DIM_ALIGNED_T: case PCB_DIM_LEADER_T: case PCB_DIM_CENTER_T: + case PCB_DIM_RADIAL_T: case PCB_DIM_ORTHOGONAL_T: case PCB_TARGET_T: case PCB_ZONE_T: diff --git a/qa/common/test_types.cpp b/qa/common/test_types.cpp index 59583f143f..f3e1914281 100644 --- a/qa/common/test_types.cpp +++ b/qa/common/test_types.cpp @@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE( AllCorrect ) { KICAD_T type = static_cast( i ); - BOOST_CHECK( IsTypeCorrect( type ) ); + BOOST_CHECK_MESSAGE( IsTypeCorrect( type ), "Failed for " << type ); } }