From 09e38b47c9757f7d60cadeab62ca233392fed272 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 13 Feb 2023 11:18:53 -0300 Subject: [PATCH] [Tests] Added references for reports on KiCad 7 - Using unknown for the blind/microvias --- tests/utils/context.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/utils/context.py b/tests/utils/context.py index 4c002c61..6755a2e0 100644 --- a/tests/utils/context.py +++ b/tests/utils/context.py @@ -47,7 +47,10 @@ kicad_patch = int(m.group(3)) kicad_version = kicad_major*1000000+kicad_minor*1000+kicad_patch if kicad_version >= KICAD_VERSION_5_99: BOARDS_DIR = '../board_samples/kicad_'+str(kicad_major) - REF_DIR = 'tests/reference/6_0_8' + if kicad_version >= KICAD_VERSION_7_0_0: + REF_DIR = 'tests/reference/7_0_0' + else: + REF_DIR = 'tests/reference/6_0_8' KICAD_SCH_EXT = '.kicad_sch' # Now these layers can be renamed. # KiCad 6 takes the freedom to give them more descriptive names ...