MCPcopy Create free account
hub / github.com/comaps/comaps / read_cl_options

Function read_cl_options

tools/python/testlog_to_xml_converter.py:230–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 return line[len(prefix):end] if end else line[len(prefix):]
229
230def read_cl_options():
231
232 parser = OptionParser()
233 parser.add_option("-o", "--output", dest="output", default="test_results.xml", help="resulting log file. Default testlog.log")
234 parser.add_option("-i", "--include", dest="input", default="testlog.log", help="The path to the original log file to parse")
235
236 (options, args) = parser.parse_args()
237
238 return options
239
240
241def main():

Callers 1

mainFunction · 0.85

Calls 1

parse_argsMethod · 0.45

Tested by

no test coverage detected