diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 0d6887bf..411cf8bf 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -1991,3 +1991,13 @@ def test_groups_2(test_dir): ctx.run(no_board_file=True, no_out_dir=True, extra=['--only-names', '--list']) ctx.search_out(['_Elecrow_compress', '_Elecrow_drill', '_Elecrow_gerbers']) ctx.clean_up() + + +@pytest.mark.indep +def test_info_1(test_dir): + """ System information """ + prj = 'simple_2layer' # fake + ctx = context.TestContext(test_dir, prj, 'info_1') + ctx.run() + ctx.expect_out_file(prj+'-info.txt') + ctx.clean_up() diff --git a/tests/yaml_samples/info_1.kibot.yaml b/tests/yaml_samples/info_1.kibot.yaml index 342af024..f3b0d8c2 100644 --- a/tests/yaml_samples/info_1.kibot.yaml +++ b/tests/yaml_samples/info_1.kibot.yaml @@ -7,4 +7,4 @@ outputs: comment: "Information about the run" type: info options: - environment: full + environment: names diff --git a/tests/yaml_samples/info_2.kibot.yaml b/tests/yaml_samples/info_2.kibot.yaml new file mode 100644 index 00000000..342af024 --- /dev/null +++ b/tests/yaml_samples/info_2.kibot.yaml @@ -0,0 +1,10 @@ +# Example KiBot config file +kibot: + version: 1 + +outputs: + - name: 'do_info' + comment: "Information about the run" + type: info + options: + environment: full