[Test][KiCad 7.0.8] Avoid diff between KiCad 6 and 7 files
- 7.0.8 seems to apply some adjust to v6 files
This commit is contained in:
parent
3cd644d19d
commit
8f841fe996
|
|
@ -1307,7 +1307,7 @@ def test_dont_stop_1(test_dir):
|
|||
def test_diff_file_1(test_dir):
|
||||
""" Difference between the current PCB and a reference file """
|
||||
prj = 'light_control_diff'
|
||||
yaml = 'diff_file_'+('k5' if context.ki5() else 'k6')
|
||||
yaml = f'diff_file_k{context.kicad_major}'
|
||||
ctx = context.TestContext(test_dir, prj, yaml)
|
||||
ctx.run()
|
||||
ctx.compare_pdf(prj+'-diff_pcb.pdf', reference='light_control-diff_pcb.pdf', off_y=OFFSET_Y, tol=DIFF_TOL)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'diff_pcb'
|
||||
comment: "PCB difference with reference file (KiCad 6)"
|
||||
type: diff
|
||||
layers: ['F.Cu', 'In1.Cu']
|
||||
options:
|
||||
old: tests/board_samples/kicad_7/light_control.kicad_pcb
|
||||
old_type: file
|
||||
cache_dir: .cache
|
||||
Loading…
Reference in New Issue