Lines Matching refs:args
359 def PrepareBaseCommand(args, classpath): argument
361 if args.raw_cmd:
362 return shlex.split(args.raw_cmd)
364 base_cmd = ['dalvikvm64'] if args.x64 else ['dalvikvm32']
365 if not args.device:
366 base_cmd += ['-XXlib:{0}'.format(args.lib)]
367 if not args.image:
371 image_path = args.image
373 if args.dalvikvm_opts:
374 base_cmd += args.dalvikvm_opts
375 base_cmd += ['-cp', classpath, args.classname] + args.test_args
382 args = parser.parse_args()
383 if not args.raw_cmd and (not args.classpath or not args.classname):
385 if args.device_serial:
386 args.device = True
387 if args.expected_retcode:
388 args.expected_retcode = RetCode[args.expected_retcode]
389 if not args.expected_retcode and not args.check_script:
390 args.expected_retcode = RetCode.SUCCESS
393 classpath = args.classpath
394 if args.device:
396 'bisection_search_', args.cleanup, args.logfile, args.timeout,
397 args.device_serial)
402 'bisection_search_', args.cleanup, args.logfile, args.timeout, args.x64)
403 base_cmd = PrepareBaseCommand(args, classpath)
405 if args.expected_output:
406 if args.check_script:
408 args.check_script, args.expected_output, test_env.logfile)
410 with open(args.expected_output, 'r') as expected_output_file:
415 testable = Dex2OatWrapperTestable(base_cmd, test_env, args.expected_retcode,
416 output_checker, args.verbose)