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