Lines Matching refs:arguments
57 def validate_arguments(arguments): argument
64 if arguments.remote == ':lab:':
65 if arguments.args:
68 if arguments.pretend:
71 if arguments.ssh_verbosity:
74 if not arguments.board or not arguments.build:
78 if arguments.build is None:
79 arguments.build = test_runner_utils.NO_BUILD
80 if arguments.web:
170 def perform_bootstrap_into_autotest_root(arguments, autotest_path, argv): argument
191 verbose=arguments.debug)
192 if arguments.no_quickmerge:
196 command = [_QUICKMERGE_SCRIPTNAME, '--board='+arguments.board]
229 def _main_for_local_run(argv, arguments): argument
241 arguments.results_dir)
243 arguments.ssh_private_key)
244 arguments.results_dir = results_directory
250 if arguments.board is None:
251 arguments.board = _get_board_from_host(arguments.remote)
252 argv = ['--board', arguments.board] + argv
254 if arguments.autotest_dir:
255 autotest_path = arguments.autotest_dir
256 arguments.no_quickmerge = True
258 sysroot_path = os.path.join('/build', arguments.board, '')
285 arguments, autotest_path, argv)
288 autotest_path, argv, arguments.tests, arguments.remote,
289 build=arguments.build, board=arguments.board,
290 args=arguments.args, ignore_deps=not arguments.enforce_deps,
292 ssh_verbosity=arguments.ssh_verbosity,
293 ssh_options=arguments.ssh_options,
294 iterations=arguments.iterations,
295 fast_mode=arguments.fast_mode, debug=arguments.debug,
296 whitelist_chrome_crashes=arguments.whitelist_chrome_crashes)
299 def _main_for_lab_run(argv, arguments): argument
311 '--board', arguments.board,
312 '--build', arguments.build,
314 '--pool', arguments.pool,
316 if arguments.web:
317 command.extend(['--web', arguments.web])
328 arguments, remote_argv = _parse_arguments_internal(argv)
330 validate_arguments(arguments)
335 if arguments.remote == ':lab:':
336 return _main_for_lab_run(remote_argv, arguments)
338 return _main_for_local_run(argv, arguments)