diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 6d3262c5..64beeb79 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -593,7 +593,7 @@ def test_makefile_1(test_dir): # pcb_render target deps = targets['pcb_render'].split(' ') assert len(deps) == 1, deps - assert ctx.get_out_path(prj+'-top.svg') in deps + assert ctx.get_out_path(prj+'-top$.svg') in deps assert os.path.abspath(targets[targets['pcb_render']]) == ctx.board_file logging.debug('- Target `pcb_render` OK') # drill target @@ -644,6 +644,7 @@ def test_makefile_1(test_dir): assert ctx.get_out_path('gerbers') in deps logging.debug('- Target `archive` OK') ctx.search_err(r'\(kibom_external\) \[kibom\] uses a name generated by the external tool') + ctx.search_err(r'Wrong character in file name `pp/test_makefile_1/test_v5-top\$.svg') ctx.clean_up() diff --git a/tests/yaml_samples/makefile_1.kibot.yaml b/tests/yaml_samples/makefile_1.kibot.yaml index 442119f8..633504e2 100644 --- a/tests/yaml_samples/makefile_1.kibot.yaml +++ b/tests/yaml_samples/makefile_1.kibot.yaml @@ -56,6 +56,8 @@ outputs: - name: 'pcb_render' comment: 'Top layer in SVG' type: pcbdraw + options: + output: '%f-%i$.%x' - name: 'archive' comment: 'Compressed files'