Added regression test for #164
This commit is contained in:
parent
0367d9be82
commit
688d637f6c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,2 @@
|
|||
${bb_w_mm}x${bb_h_mm}
|
||||
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
59.23x26.55
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
../5_1_6/comp_edge-report.txt
|
||||
|
|
@ -0,0 +1 @@
|
|||
../5_1_6/comp_edge-report.txt
|
||||
|
|
@ -1017,6 +1017,16 @@ def test_report_simple_2(test_dir):
|
|||
ctx.clean_up(keep_project=True)
|
||||
|
||||
|
||||
def test_report_edge_1(test_dir):
|
||||
""" Meassures the PCB size when using a component that contains the real PCB edges #164 """
|
||||
prj = 'comp_edge'
|
||||
ctx = context.TestContext(test_dir, 'test_report_edge_1', prj, 'report_edge_1', POS_DIR)
|
||||
ctx.run()
|
||||
ctx.expect_out_file(prj+'-report.txt')
|
||||
ctx.compare_txt(prj+'-report.txt')
|
||||
ctx.clean_up()
|
||||
|
||||
|
||||
def test_board_view_1(test_dir):
|
||||
prj = 'glasgow'
|
||||
ctx = context.TestContext(test_dir, 'test_board_view_1', prj, 'boardview', POS_DIR)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
# Example KiBot config file
|
||||
kibot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'report_edge'
|
||||
comment: "Just the PCB size"
|
||||
type: report
|
||||
options:
|
||||
template: tests/data/report_size.txt
|
||||
Loading…
Reference in New Issue