Fixed command line for `--list`
- PCB and SCH can be needed - Adapted the test for --list
This commit is contained in:
parent
9e65e0712e
commit
5620113b49
|
|
@ -1896,7 +1896,7 @@ KiBot: KiCad automation tool for documents generation
|
|||
Usage:
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE]
|
||||
[-q | -v...] [-i] [-m MKFILE] [-g DEF]... [TARGET...]
|
||||
kibot [-v...] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-e SCHEMA] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-d OUT_DIR] [-p | -P] --example
|
||||
kibot [-v...] --help-filters
|
||||
kibot [-v...] --help-list-outputs
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
Usage:
|
||||
kibot [-b BOARD] [-e SCHEMA] [-c CONFIG] [-d OUT_DIR] [-s PRE]
|
||||
[-q | -v...] [-i] [-m MKFILE] [-g DEF]... [TARGET...]
|
||||
kibot [-v...] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-e SCHEMA] [-c PLOT_CONFIG] --list
|
||||
kibot [-v...] [-b BOARD] [-d OUT_DIR] [-p | -P] --example
|
||||
kibot [-v...] --help-filters
|
||||
kibot [-v...] --help-list-outputs
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ def test_auto_pcb_and_cfg_5(test_dir):
|
|||
|
||||
def test_list(test_dir):
|
||||
ctx = context.TestContext(test_dir, 'List', '3Rs', 'pre_and_position', POS_DIR)
|
||||
ctx.run(extra=['--list'], no_verbose=True, no_out_dir=True, no_board_file=True)
|
||||
ctx.run(extra=['--list'], no_verbose=True, no_out_dir=True)
|
||||
|
||||
assert ctx.search_out('run_erc: True')
|
||||
assert ctx.search_out('run_drc: True')
|
||||
|
|
|
|||
Loading…
Reference in New Issue