kicad/qa/pcbnew
Jeff Young 8054f1a948 Apply a more sophisticated test for ignoring isInCoupledDiffPair.
The basic problem is that the DRC engine does length testing and skew
testing by collecting all the diff pair constituent parts and pairing them
itself.  Since each part is collected on its own, we need to ignore the
'B' unit when evaluating any conditional expressions.  However, doing this
in general means that when evaluating "OwnClearance()" we also ignore the
'B' unit and return the diff pair CLEARANCE_CONSTRAINT when we shouldn't.

This implements a more discerning test which know what the current requested
constraint is when evaluating expressions.

See also https://forum.kicad.info/t/solved-custom-differencing-rule-not-working-drc/34034/6

Fixes https://gitlab.com/kicad/code/kicad/issues/11314

(cherry picked from commit f7cdc7af75)
2022-04-03 18:23:41 +01:00
..
drc We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
plugins/altium We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
CMakeLists.txt Add kicad_3dsg copy for qa_pcbnew to run out of build dir 2022-01-01 19:54:30 +00:00
board_test_utils.cpp Explicitly build nets when running test boards 2021-11-27 19:49:44 -08:00
board_test_utils.h Fix broken QA build on Linux. 2021-08-03 12:02:42 -04:00
group_saveload.cpp Remove pcb_group include from board header 2021-06-03 20:03:31 +01:00
test_array_pad_name_provider.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
test_board_item.cpp Test PCB_MARKER, PCB_ZONE, FP_ZONE 2021-12-01 03:42:22 +01:00
test_graphics_import_mgr.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
test_libeval_compiler.cpp Apply a more sophisticated test for ignoring isInCoupledDiffPair. 2022-04-03 18:23:41 +01:00
test_lset.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
test_module.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
test_pad_numbering.cpp Clear numbers from non-numberable pads and don't run DRC on them. 2021-08-24 01:03:06 +01:00
test_tracks_cleaner.cpp Check for additional connections between tracks 2022-03-03 13:08:37 -08:00
test_zone_filler.cpp QA test: fix incorrect call to BOOST_TEST_MESSGE. 2022-03-21 14:02:18 +01:00