Adapted the speed meassurement script
This commit is contained in:
parent
087ef2bbb0
commit
17aafd88a0
|
|
@ -4,6 +4,7 @@ source =
|
|||
src
|
||||
omit = */kibot/docopt.py
|
||||
*/kibot/mcpy/*
|
||||
*/kibot/mcpyrate/*
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
time perl test.pl
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
for ($i=0; $i<100; $i++)
|
||||
{
|
||||
system("src/kiplot -b tests/board_samples/good-project.kicad_pcb -c tests/yaml_samples/simple_position_csv.kiplot.yaml -d pp");
|
||||
system("../../src/kiplot -b ../../tests/board_samples/kicad_5/good-project.kicad_pcb -c ../../tests/yaml_samples/simple_position_csv.kibot.yaml -d pp");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,14 +37,14 @@ class BoMColumns(Optionable):
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
self._unkown_is_error = True
|
||||
with step_expansion:
|
||||
with document:
|
||||
self.field = ''
|
||||
""" Name of the field to use for this column """
|
||||
self.name = ''
|
||||
""" Name to display in the header. The field is used when empty """
|
||||
self.join = Optionable
|
||||
""" [list(string)|string=''] List of fields to join to this column """
|
||||
# with step_expansion:
|
||||
with document:
|
||||
self.field = ''
|
||||
""" Name of the field to use for this column """
|
||||
self.name = ''
|
||||
""" Name to display in the header. The field is used when empty """
|
||||
self.join = Optionable
|
||||
""" [list(string)|string=''] List of fields to join to this column """
|
||||
|
||||
def config(self):
|
||||
super().config()
|
||||
|
|
|
|||
Loading…
Reference in New Issue