Lines Matching refs:args
46 def format_shell_args(args):
47 return ' '.join(args)
57 def list_cases(args):
60 cmd.extend(args.test_args)
74 def run_tests(args, tests, huntrleaks=None):
81 cmd.extend(args.test_args)
105 args, test_args = parser.parse_known_args()
106 args.test_args = test_args
107 return args
111 args = parse_args()
112 if '-w' in args.test_args or '--verbose2' in args.test_args:
116 if args.input:
117 with open(args.input) as fp:
120 tests = list_cases(args)
123 print("Test arguments: %s" % format_shell_args(args.test_args))
127 % (args.max_tests, args.max_iter))
128 output = write_output(args.output, tests)
134 while len(tests) > args.max_tests and iteration <= args.max_iter:
143 exitcode = run_tests(args, subtests)
150 output = write_output(args.output, tests)
169 if len(tests) <= args.max_tests: