kicad/qa
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
..
common Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
common_tools PROF_COUNTER -> PROF_TIMER 2021-12-05 14:25:37 -05:00
data Check for additional connections between tracks 2022-03-03 13:08:37 -08:00
drc_proto Fix bug in qa, drc_proto.h (link issue). 2021-10-16 10:55:19 +02:00
eeschema Try to blindly fix a QA test issue. 2022-03-14 20:39:34 +01:00
gal/gal_pixel_alignment Rename layer ids file. 2021-07-29 16:03:25 +01:00
gerbview We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
libeval_compiler Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
libs Fix QA for arc/arc collisions 2022-03-08 10:37:04 -08:00
pcb_test_window Remove GITHUB plugins 2020-10-29 16:45:04 -07:00
pcbnew Apply a more sophisticated test for ignoring isInCoupledDiffPair. 2022-04-03 18:23:41 +01:00
pcbnew_tools PROF_COUNTER -> PROF_TIMER 2021-12-05 14:25:37 -05:00
pcbnew_utils Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
pns Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
qa_utils Fix missing mock return 2021-12-07 14:54:00 -08:00
resources/linux Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
testcases Fix one more test case for arc approx 2022-03-08 12:36:08 -08:00
utils/kicad2step QA tests: fix a build issue on msys2, due to changes in commit 5622a51 2021-12-15 10:13:45 +01:00
CMakeLists.txt qa: fixed building of the P&S debug tool after the changes/refactoring of the 3D viewer code. The tool can now be built 2021-06-19 23:21:23 +02:00
test.py QA: Add build-time option to enable XML output from tests 2019-04-18 10:59:06 +01:00