/tools/asuite/atest/test_runners/ |
D | suite_plan_test_runner.py | 38 def __init__(self, results_dir: str, extra_args: Dict[str, Any], **kwargs): 40 super().__init__(results_dir, extra_args, **kwargs) 56 def run_tests(self, test_infos, extra_args, reporter): argument 69 logstorage_utils.do_upload_flow(extra_args) 70 if logstorage_utils.is_upload_enabled(extra_args) 74 run_cmds = self.generate_run_commands(test_infos, extra_args) 81 env_vars=self.generate_env_vars(extra_args), 100 def _parse_extra_args(self, extra_args): argument 116 for arg in extra_args: 119 args_to_append.append(extra_args[arg]) [all …]
|
D | vts_tf_test_runner.py | 41 def __init__(self, results_dir: str, extra_args: Dict[str, Any], **kwargs): 43 super().__init__(results_dir, extra_args, **kwargs) 59 def run_tests(self, test_infos, extra_args, reporter): argument 72 run_cmds = self.generate_run_commands(test_infos, extra_args) 79 def _parse_extra_args(self, extra_args): argument 95 for arg in extra_args: 98 args_to_append.append(extra_args[arg]) 101 args_to_append.extend(extra_args[arg]) 115 def generate_run_commands(self, test_infos, extra_args): argument 127 args.extend(self._parse_extra_args(extra_args))
|
D | robolectric_test_runner.py | 68 def run_tests(self, test_infos, extra_args, reporter): argument 81 return self.run_tests_pretty(test_infos, extra_args, reporter) 82 return self.run_tests_raw(test_infos, extra_args, reporter) 84 def run_tests_raw(self, test_infos, extra_args, reporter): argument 98 full_env_vars = self._get_full_build_environ(test_info, extra_args) 99 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 108 def run_tests_pretty(self, test_infos, extra_args, reporter): argument 125 test_info, extra_args, event_file 127 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 145 self, test_info=None, extra_args=None, event_file=None argument [all …]
|
D | atest_tf_test_runner.py | 153 extra_args: Dict[str, Any], 184 self._is_host_enabled = extra_args.get(constants.HOST, False) 206 extra_args: Dict[str, Any], 221 extra_args_for_deviceless_test = extra_args.copy() 226 extra_args=extra_args_for_deviceless_test, 234 extra_args=extra_args, 289 def run_tests(self, test_infos, extra_args, reporter): argument 302 reporter.rerun_options = self._extract_rerun_options(extra_args) 309 logstorage_utils.do_upload_flow(extra_args) 310 if logstorage_utils.is_upload_enabled(extra_args) [all …]
|
D | atest_tf_test_runner_unittest.py | 288 results_dir=uc.TEST_INFO_DIR, extra_args={constants.HOST: False} 829 extra_args = {} 832 self.tr.generate_run_commands([], extra_args), 844 extra_args = {constants.COLLECT_TESTS_ONLY: True} 847 self.tr.generate_run_commands([], extra_args), 875 extra_args = { 882 self.tr.generate_run_commands([], extra_args), 893 extra_args = { 901 self.tr.generate_run_commands([], extra_args), 1094 env_vars = self.tr.generate_env_vars(extra_args={}) [all …]
|
D | vts_tf_test_runner_unittest.py | 32 results_dir=uc.TEST_INFO_DIR, extra_args={} 46 extra_args = [] 52 0, self.vts_tr.run_tests(test_infos, extra_args, mock_reporter) 58 0, self.vts_tr.run_tests(test_infos, extra_args, mock_reporter)
|
D | example_test_runner.py | 33 def run_tests(self, test_infos, extra_args, reporter): argument 41 run_cmds = self.generate_run_commands(test_infos, extra_args) 68 def generate_run_commands(self, test_infos, extra_args, port=None): argument
|
D | test_runner_base.py | 95 extra_args: Dict[str, Any], 109 test_runner=self, extra_args=extra_args, test_infos=test_infos 228 def run_tests(self, test_infos, extra_args, reporter): argument 250 def generate_run_commands(self, test_infos, extra_args, port=None): argument
|
D | mobly_test_runner.py | 164 def __init__(self, extra_args): argument 173 logstorage_utils.do_upload_flow(extra_args) 174 if logstorage_utils.is_upload_enabled(extra_args) 376 extra_args: Dict[str, Any], 394 extra_args.get(constants.CUSTOM_ARGS, []) 398 rerun_options = self._get_rerun_options(extra_args) 401 uploader = MoblyResultUploader(extra_args) 409 if constants.DISABLE_INSTALL not in extra_args: 449 extra_args: Dict[str, Any], 496 def _get_rerun_options(self, extra_args: dict[str, Any]) -> RerunOptions: [all …]
|
D | suite_plan_test_runner_unittest.py | 36 results_dir=uc.TEST_INFO_DIR, extra_args={} 150 extra_args = {} 161 0, self.suite_tr.run_tests(test_infos, extra_args, mock_reporter) 167 0, self.suite_tr.run_tests(test_infos, extra_args, mock_reporter)
|
D | robolectric_test_runner_unittest.py | 50 extra_args = [] 57 0, self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter) 62 0, self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter)
|
/tools/asuite/atest/ |
D | test_runner_handler_unittest.py | 55 def run_tests(self, test_infos, extra_args, reporter): argument 64 def generate_run_commands(self, test_infos, extra_args, port=None): argument 73 def run_tests(self, test_infos, extra_args, reporter): argument 130 extra_args={}, 143 extra_args = {} 148 extra_args=extra_args, 158 extra_args = {} 163 extra_args=extra_args,
|
D | atest_main.py | 337 extra_args = {} 339 extra_args[constants.WAIT_FOR_DEBUGGER] = None 341 extra_args[constants.DISABLE_INSTALL] = None 378 extra_args.update({ 381 return extra_args 633 extra_args: Dict[str, Any], 658 collect_only=extra_args.get(constants.COLLECT_TESTS_ONLY), 693 def _dry_run(results_dir, extra_args, test_infos, mod_info): argument 711 runner = test_runner(results_dir, mod_info=mod_info, extra_args=extra_args) 712 run_cmds = runner.generate_run_commands(tests, extra_args) [all …]
|
D | test_runner_handler.py | 106 extra_args: Dict[str, Any], 128 extra_args=extra_args, 133 test_runner.create_invocations(extra_args=extra_args, test_infos=tests)
|
D | bazel_mode_unittest.py | 2386 extra_args = { 2390 cmd = runner.generate_run_commands(test_infos, extra_args) 2397 extra_args = {constants.CUSTOM_ARGS: ['-hello', '--world=value']} 2399 cmd = runner.generate_run_commands(test_infos, extra_args) 2408 extra_args = { 2413 cmd = runner.generate_run_commands(test_infos, extra_args) 2423 extra_args = {constants.CUSTOM_ARGS: ['--serial=0.0.0.0']} 2425 cmd = runner.generate_run_commands(test_infos, extra_args) 2433 extra_args = {constants.ALL_ABI: True} 2435 cmd = runner.generate_run_commands(test_infos, extra_args) [all …]
|
D | test_runner_invocation.py | 51 extra_args: Dict[str, Any], 54 self._extra_args = extra_args
|
D | bazel_mode.py | 1760 extra_args: Dict[str, Any] = None, 1782 self._extra_args = extra_args or {} 1793 def run_tests(self, test_infos, extra_args, reporter): argument 1804 run_cmds = self.generate_run_commands(test_infos, extra_args) 1997 feature: Features, extra_args: Dict[str, Any], generator: Callable 1999 if feature not in extra_args.get('BAZEL_MODE_FEATURES', []): 2004 def generate_run_commands(self, test_infos, extra_args, port=None): argument 2025 bazel_args = parse_args(test_infos, extra_args) 2033 extra_args, 2040 Features.EXPERIMENTAL_REMOTE, extra_args, self._get_remote_args [all …]
|
/tools/asuite/atest/logstorage/ |
D | atest_gcp_utils.py | 203 extra_args: dict[str, str], 236 extra_args[constants.INVOCATION_ID] = inv['invocationId'] 237 extra_args[constants.WORKUNIT_ID] = workunit['id'] 238 extra_args[constants.LOCAL_BUILD_ID] = local_build_id 239 extra_args[constants.BUILD_TARGET] = build_target
|
D | logstorage_utils.py | 91 extra_args: dict[str, str], atest_run_id: str = None 105 extra_args, lambda cred: BuildClient(cred), atest_run_id
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_server.py | 281 def start(self, extra_args='', tag=''): argument 363 def start(self, extra_args='', tag=''): argument 380 command.extend(shlex.split(extra_args)) 509 def start(self, extra_args='', tag='', iperf_binary=None): argument 536 extra_flags=extra_args, 659 def start(self, extra_args='', tag='', iperf_binary=None): argument 684 extra_flags=extra_args,
|
D | android_device.py | 1325 extra_args="", argument 1340 cmd = "iperf3 -c {} {}".format(server_host, extra_args) 1347 extra_args="", argument 1363 out = self.adb.shell("iperf3 -c {} {}".format(server_host, extra_args), 1370 def run_iperf_server(self, extra_args=""): argument 1382 out = self.adb.shell("iperf3 -s {}".format(extra_args))
|
/tools/acloud/create/ |
D | goldfish_local_image_local_instance.py | 198 extra_args = self._ConvertAvdSpecToArgs(avd_spec, instance_dir) 204 stdouterr_path, extra_args) 501 stdouterr_path, extra_args): argument 539 emulator_cmd.extend(extra_args)
|
/tools/asuite/atest/docs/ |
D | develop_test_runners.md | 13 ```extra_args``` passed into the ```run_tests``` method. The extra_args are
|
/tools/repohooks/rh/ |
D | hooks.py | 921 def _check_pylint(project, commit, _desc, diff, extra_args=None, options=None): argument 927 if extra_args is None: 928 extra_args = [] 934 ] + extra_args + options.args(('${PREUPLOAD_FILES}',), filtered) 946 extra_args=['--py3'],
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_power_test_utils.py | 248 def run_iperf_client_nonblocking(ad, server_host, extra_args=""): argument 263 server_host, extra_args))
|