kicad/qa
Jeff Young f7cdc7af75 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
2022-04-02 15:12:42 +01:00
..
data qa: move pcbnew data to appropriate directory 2022-03-30 11:13:23 +00:00
mocks qa: add missing const to mocked method 2022-03-21 11:51:39 +00:00
pcbnew_utils qa: move pcbnew data to appropriate directory 2022-03-30 11:13:23 +00:00
qa_utils Preload PCBnew find with selection when appropriate. 2022-03-19 19:37:01 +00:00
resources/linux Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
testcases qa: move pcbnew data to appropriate directory 2022-03-30 11:13:23 +00:00
tools QA: fix paths in CMakeLists.txt after QA paths changes 2022-03-30 18:18:29 +02:00
unittests Apply a more sophisticated test for ignoring isInCoupledDiffPair. 2022-04-02 15:12:42 +01:00
CMakeLists.txt qa: move unittests to the separate directory 2022-03-30 11:13:23 +00:00
test.py QA test code: fix some issues: 2022-01-06 09:37:14 +01:00