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.expect_out_file(fname)
|
||||||
ctx.search_err(r'Pad with solder paste, but no copper')
|
ctx.search_err(r'Pad with solder paste, but no copper')
|
||||||
ctx.clean_up()
|
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'
|
- name: 'print_front'
|
||||||
comment: "Experiment"
|
comment: "Experiment"
|
||||||
type: pcb_print
|
type: pcb_print
|
||||||
dir: Layers
|
|
||||||
options:
|
options:
|
||||||
# title: 'Fake title for front copper and silk'
|
# title: 'Fake title for front copper and silk'
|
||||||
# color_theme: _builtin_default
|
# color_theme: _builtin_default
|
||||||
|
|
@ -14,10 +13,16 @@ outputs:
|
||||||
title: Chau
|
title: Chau
|
||||||
plot_sheet_reference: true
|
plot_sheet_reference: true
|
||||||
sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
|
sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
|
||||||
format: 'PDF'
|
format: 'PNG'
|
||||||
keep_temporal_files: true
|
keep_temporal_files: true
|
||||||
|
scaling: 2
|
||||||
# enable_ki6_frame_fix: true
|
# enable_ki6_frame_fix: true
|
||||||
|
add_background: true
|
||||||
|
background_image: "tests/data/confidential_optimized.svg"
|
||||||
pages:
|
pages:
|
||||||
- layers:
|
- layers:
|
||||||
|
- layer: F.Cu
|
||||||
|
- layer: F.Mask
|
||||||
|
color: '#14332440'
|
||||||
- layer: Edge.Cuts
|
- layer: Edge.Cuts
|
||||||
color: "#004040"
|
color: "#004040"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue