Lines Matching refs:args
353 def PrepareBaseCommand(args, classpath): argument
355 if args.raw_cmd:
356 return shlex.split(args.raw_cmd)
358 base_cmd = ['dalvikvm64'] if args.x64 else ['dalvikvm32']
359 if not args.device:
360 base_cmd += ['-XXlib:{0}'.format(args.lib)]
361 if not args.image:
365 image_path = args.image
367 if args.dalvikvm_opts:
368 base_cmd += args.dalvikvm_opts
369 base_cmd += ['-cp', classpath, args.classname] + args.test_args
376 args = parser.parse_args()
377 if not args.raw_cmd and (not args.classpath or not args.classname):
379 if args.device_serial:
380 args.device = True
381 if args.expected_retcode:
382 args.expected_retcode = RetCode[args.expected_retcode]
383 if not args.expected_retcode and not args.check_script:
384 args.expected_retcode = RetCode.SUCCESS
387 classpath = args.classpath
388 if args.device:
390 'bisection_search_', args.cleanup, args.logfile, args.timeout,
391 args.device_serial)
396 'bisection_search_', args.cleanup, args.logfile, args.timeout, args.x64)
397 base_cmd = PrepareBaseCommand(args, classpath)
399 if args.expected_output:
400 if args.check_script:
402 args.check_script, args.expected_output, test_env.logfile)
404 with open(args.expected_output, 'r') as expected_output_file:
409 testable = Dex2OatWrapperTestable(base_cmd, test_env, args.expected_retcode,
410 output_checker, args.verbose)