Lines Matching refs:opts
127 if opts.verbose:
132 if opts.log_dir:
133 stdout_log_path = os.path.join(opts.log_dir, '%s.out' % index)
134 stderr_log_path = os.path.join(opts.log_dir, '%s.err' % index)
143 test_result = (exit_code == opts.expected_exit_code or
144 exit_code in opts.extra_exit_codes)
151 if not opts.log_all and test_result:
157 elif not opts.succinct:
162 global opts
268 (opts, args) = parser.parse_args()
274 input_files = list(opts.input_files)
275 for filelist in opts.filelists:
292 if opts.log_dir:
293 if not os.path.exists(opts.log_dir):
295 os.mkdir(opts.log_dir)
302 replacements = list(opts.replacement_chars)
303 replacements.extend(opts.replacement_strings)
304 for replacement_list in opts.replacement_lists:
319 tg = TestGenerator(input_files, opts.enable_delete, opts.enable_insert,
320 opts.enable_replace, replacements, opts.pick_input)
324 if opts.test is not None:
325 it = [opts.test]
326 elif opts.max_tests is not None:
328 itertools.repeat(tg.num_tests, opts.max_tests))
334 if opts.verbose:
340 if not test_result and opts.stop_on_fail:
341 opts.revert = False
344 if opts.revert: