Lines Matching refs:args
77 def _create_formatter(args):
78 formatter = formatters[args.format]
80 "fout" : args.output,
81 "verbose" : args.verbose
86 "translate_names" : not args.no_junit_xlate_names,
124 def _list_tests(args):
126 ( parse_test_filter(f) for f in args.list_filter ):
129 ruby_protocol=args.ruby_protocol,
130 gpu_isa=args.gpu_isa):
178 def _run_tests(args):
179 if not os.path.isfile(args.gem5) or not os.access(args.gem5, os.X_OK):
180 print("gem5 binary '%s' not an executable file" % args.gem5,
184 formatter = _create_formatter(args)
186 out_base = os.path.abspath(args.directory)
190 for test_name in args.test:
194 ClassicTest(args.gem5, out_dir, config,
195 timeout=args.timeout,
196 skip_diff_stat=args.skip_diff_stat,
197 skip_diff_out=args.skip_diff_out))
246 def _show(args):
257 formatter = _create_formatter(args)
258 suites = sum([ _load(f) for f in args.result ], [])
288 def _test(args):
290 suites = sum([ pickle.load(f) for f in args.result ], [])
343 args = parser.parse_args()
344 impl, cmd_parser = _commands[args.command]
345 impl(args)