[Tests] Added more tolerance for the fill test

- Needed by 7.0.2
This commit is contained in:
Salvador E. Tropea 2023-04-15 20:03:01 -03:00
parent e708aee42d
commit bb7a0cc36c
1 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ PDF_FILE = 'bom-F_Cu+F_SilkS.pdf'
PDF_FILE_B = 'PCB_Bot.pdf'
PDF_FILE_C = 'PCB_Bot_def.pdf'
DIFF_TOL = 10 if os.path.isfile('/etc/debian_version') else 5000
DIFF_TOL2 = 100 if os.path.isfile('/etc/debian_version') else 5000
@pytest.mark.slow
@ -160,5 +161,6 @@ def test_pcb_print_multizone_1(test_dir):
ctx = context.TestContext(test_dir, prj, 'print_multizone')
ctx.run()
ctx.compare_image(prj+'-assembly_page_01.png', tol=DIFF_TOL)
ctx.compare_image(prj+'-assembly_page_02.png', tol=DIFF_TOL)
# 7.0.1+f1f69c6 generates 48 diff compared to 7.0.1 release
ctx.compare_image(prj+'-assembly_page_02.png', tol=DIFF_TOL2)
ctx.clean_up()