Added more options to test pcb_print features
This commit is contained in:
parent
7776e4cdaf
commit
9a090012a6
|
|
@ -96,3 +96,10 @@ def test_print_wrong_paste(test_dir):
|
|||
ctx.expect_out_file(fname)
|
||||
ctx.search_err(r'Pad with solder paste, but no copper')
|
||||
ctx.clean_up()
|
||||
|
||||
|
||||
def test_pcb_print_simple_1(test_dir):
|
||||
prj = 'light_control'
|
||||
ctx = context.TestContext(test_dir, 'test_pcb_print_simple_1', prj, 'pcb_print_2', '')
|
||||
ctx.run()
|
||||
ctx.expect_out_file(prj+'-assembly_page_01.png')
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ outputs:
|
|||
- name: 'print_front'
|
||||
comment: "Experiment"
|
||||
type: pcb_print
|
||||
dir: Layers
|
||||
options:
|
||||
# title: 'Fake title for front copper and silk'
|
||||
# color_theme: _builtin_default
|
||||
|
|
@ -14,10 +13,16 @@ outputs:
|
|||
title: Chau
|
||||
plot_sheet_reference: true
|
||||
sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
|
||||
format: 'PDF'
|
||||
format: 'PNG'
|
||||
keep_temporal_files: true
|
||||
scaling: 2
|
||||
# enable_ki6_frame_fix: true
|
||||
add_background: true
|
||||
background_image: "tests/data/confidential_optimized.svg"
|
||||
pages:
|
||||
- layers:
|
||||
- layer: F.Cu
|
||||
- layer: F.Mask
|
||||
color: '#14332440'
|
||||
- layer: Edge.Cuts
|
||||
color: "#004040"
|
||||
|
|
|
|||
Loading…
Reference in New Issue