Added tests for PcbDraw JPG and PNG outputs
This commit is contained in:
parent
90c0e14b73
commit
3023035b75
|
|
@ -31,6 +31,6 @@ def test_pcbdraw_simple():
|
|||
prj = 'bom'
|
||||
ctx = context.TestContext(OUT_DIR+'_simple', prj, 'pcbdraw_simple', OUT_DIR)
|
||||
ctx.run()
|
||||
ctx.expect_out_file(os.path.join(OUT_DIR, prj+'-top.svg'))
|
||||
ctx.expect_out_file(os.path.join(OUT_DIR, prj+'-bottom.svg'))
|
||||
ctx.expect_out_file(os.path.join(OUT_DIR, prj+'-top.png'))
|
||||
ctx.expect_out_file(os.path.join(OUT_DIR, prj+'-bottom.jpg'))
|
||||
ctx.clean_up()
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ outputs:
|
|||
type: pcbdraw
|
||||
dir: PcbDraw
|
||||
options: &pcb_draw_ops
|
||||
format: svg
|
||||
format: png
|
||||
no_drillholes: True
|
||||
placeholder: True
|
||||
mirror: True
|
||||
|
|
@ -22,6 +22,7 @@ outputs:
|
|||
<<: *pcb_draw_ops
|
||||
style: set-red-enig
|
||||
bottom: True
|
||||
format: jpg
|
||||
show_components: none
|
||||
warnings: none
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue