def parse_command_line(self):
"""Handle command-line parsing and internal configuration."""
self.main.parse_args()
self.formatter = get_formatter_by_name(
'terminal256' if self.main.options.colorize else 'null',
style=GNAThubOutputStyle, encoding='utf-8')
self.testcases = Testsuite.compute_testcases_list(self.main.args)
self.testcases = sorted(self.testcases, key=lambda s: s.lower())
if self.main.options.discs:
self.discs.extend(self.main.options.discs.split(','))
setup_result_dir(self.main.options)
评论列表
文章目录