[Tests] Added some schematic PS, HPGL and DXF examples
- Used to verify kicad-cli patches
This commit is contained in:
parent
423f5e3359
commit
f91bb5c01f
|
|
@ -58,6 +58,39 @@ def test_print_sch_svg_ok(test_dir):
|
|||
ctx.clean_up()
|
||||
|
||||
|
||||
# @pytest.mark.slow
|
||||
# @pytest.mark.eeschema
|
||||
# def test_print_sch_ps_ok(test_dir):
|
||||
# prj = 'test_v5'
|
||||
# ctx = context.TestContext(test_dir, prj, 'print_sch_ps')
|
||||
# ctx.run()
|
||||
# # Check all outputs are there
|
||||
# ctx.expect_out_file(SVG_FILE.replace('svg', 'ps'))
|
||||
# ctx.clean_up()
|
||||
|
||||
|
||||
# @pytest.mark.slow
|
||||
# @pytest.mark.eeschema
|
||||
# def test_print_sch_dxf_ok(test_dir):
|
||||
# prj = 'test_v5'
|
||||
# ctx = context.TestContext(test_dir, prj, 'print_sch_dxf')
|
||||
# ctx.run()
|
||||
# # Check all outputs are there
|
||||
# ctx.expect_out_file(SVG_FILE.replace('svg', 'dxf'))
|
||||
# ctx.clean_up()
|
||||
|
||||
|
||||
# @pytest.mark.slow
|
||||
# @pytest.mark.eeschema
|
||||
# def test_print_sch_hpgl_ok(test_dir):
|
||||
# prj = 'test_v5'
|
||||
# ctx = context.TestContext(test_dir, prj, 'print_sch_hpgl')
|
||||
# ctx.run()
|
||||
# # Check all outputs are there
|
||||
# ctx.expect_out_file(SVG_FILE.replace('svg', 'hpgl'))
|
||||
# ctx.clean_up()
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
@pytest.mark.eeschema
|
||||
def test_print_sch_svg_fail(test_dir):
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
# Example KiBot config file
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'print_dxf_svg'
|
||||
comment: "Plot schematic (DXF)"
|
||||
type: dxf_sch_print
|
||||
dir: .
|
||||
options:
|
||||
output: Schematic.dxf
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# Example KiBot config file
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'print_hpgl_svg'
|
||||
comment: "Plot schematic (HPGL)"
|
||||
type: hpgl_sch_print
|
||||
dir: .
|
||||
options:
|
||||
output: Schematic.plt
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
# Example KiBot config file
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'print_ps_svg'
|
||||
comment: "Plot schematic (PS)"
|
||||
type: ps_sch_print
|
||||
dir: .
|
||||
options:
|
||||
output: Schematic.ps
|
||||
Loading…
Reference in New Issue