opargs[-1] += ":%s" % op['class']
name += "/%s" % op['class']
if VERBOSE:
- dots = '.' * (60 - len(name) - 2)
+ dots = '.' * (77 - len(name) - 2)
INFO("%s %s " % (name, dots), end='')
results.append({
'testcase': name,
if re.match(reg, results[-1]['error']):
# found it, not an error
results[-1].pop('error')
+ errors -= 1
if VERBOSE:
if 'diff' in results[-1]:
INFO("Output mismatch")
opt_all = opt_run = opt_show = opt_list = opt_fix = opt_coverage = False
report_dir = None
-opts, args = getopt(sys.argv[1:], "dvarslfcR:S:")
+try:
+ opts, args = getopt(sys.argv[1:], "dvarslfcR:S:")
+except Exception as e:
+ usage('error while parsing command line arguments: {}'.format(e))
for opt, arg in opts:
if opt == '-d':
DEBUG += 1