/tools/asuite/atest-py2/test_runners/ |
D | atest_tf_test_runner.py | 115 def run_tests(self, test_infos, extra_args, reporter): argument 127 reporter.rerun_options = self._extract_rerun_options(extra_args) 131 return self.run_tests_raw(test_infos, extra_args, reporter) 132 return self.run_tests_pretty(test_infos, extra_args, reporter) 134 def run_tests_raw(self, test_infos, extra_args, reporter): argument 145 iterations = self._generate_iterations(extra_args) 150 run_cmds = self.generate_run_commands(test_infos, extra_args) 152 env_vars=self.generate_env_vars(extra_args)) 156 def run_tests_pretty(self, test_infos, extra_args, reporter): argument 167 iterations = self._generate_iterations(extra_args) [all …]
|
D | robolectric_test_runner.py | 61 def run_tests(self, test_infos, extra_args, reporter): argument 73 return self.run_tests_raw(test_infos, extra_args, reporter) 74 return self.run_tests_pretty(test_infos, extra_args, reporter) 76 def run_tests_raw(self, test_infos, extra_args, reporter): argument 91 extra_args) 92 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 99 def run_tests_pretty(self, test_infos, extra_args, reporter): argument 117 extra_args, 119 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 132 def _get_full_build_environ(self, test_info=None, extra_args=None, event_file=None): argument [all …]
|
D | suite_plan_test_runner.py | 52 def run_tests(self, test_infos, extra_args, reporter): argument 63 run_cmds = self.generate_run_commands(test_infos, extra_args) 71 def _parse_extra_args(self, extra_args): argument 87 for arg in extra_args: 90 args_to_append.append(extra_args[arg]) 93 args_to_append.extend(extra_args[arg]) 104 def generate_run_commands(self, test_infos, extra_args): argument 117 args.extend(self._parse_extra_args(extra_args))
|
D | vts_tf_test_runner.py | 56 def run_tests(self, test_infos, extra_args, reporter): argument 69 run_cmds = self.generate_run_commands(test_infos, extra_args) 76 def _parse_extra_args(self, extra_args): argument 92 for arg in extra_args: 95 args_to_append.append(extra_args[arg]) 98 args_to_append.extend(extra_args[arg]) 109 def generate_run_commands(self, test_infos, extra_args): argument 121 args.extend(self._parse_extra_args(extra_args))
|
D | regression_test_runner.py | 38 def run_tests(self, test_infos, extra_args, reporter): argument 49 run_cmds = self.generate_run_commands(test_infos, extra_args) 73 def generate_run_commands(self, test_infos, extra_args, port=None): argument 86 pre = extra_args.pop(constants.PRE_PATCH_FOLDER) 87 post = extra_args.pop(constants.POST_PATCH_FOLDER)
|
D | example_test_runner.py | 30 def run_tests(self, test_infos, extra_args, reporter): argument 38 run_cmds = self.generate_run_commands(test_infos, extra_args) 60 def generate_run_commands(self, test_infos, extra_args, port=None): argument
|
D | vts_tf_test_runner_unittest.py | 41 extra_args = [] 48 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter)) 54 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter))
|
D | atest_tf_test_runner_unittest.py | 581 extra_args = {constants.TF_TEMPLATE: 586 self.tr.generate_run_commands([], extra_args), 594 extra_args = {constants.TF_TEMPLATE: 601 self.tr.generate_run_commands([], extra_args), 622 extra_args = {} 625 self.tr.generate_run_commands([], extra_args), 633 extra_args = {constants.COLLECT_TESTS_ONLY: True} 636 self.tr.generate_run_commands([], extra_args),
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 185 def run_tests(self, test_infos, extra_args, reporter): argument 197 reporter.rerun_options = self._extract_rerun_options(extra_args) 202 creds, inv = atest_gcp_utils.do_upload_flow(extra_args) 205 extra_args) 206 if extra_args.get(constants.VERIFY_ENV_VARIABLE, False): 215 result = self.run_tests_raw(test_infos, extra_args, reporter) 216 result = self.run_tests_pretty(test_infos, extra_args, reporter) 234 def run_tests_raw(self, test_infos, extra_args, reporter): argument 245 iterations = self._generate_iterations(extra_args) 250 run_cmds = self.generate_run_commands(test_infos, extra_args) [all …]
|
D | atest_tf_test_runner_unittest.py | 621 extra_args = {} 624 self.tr.generate_run_commands([], extra_args), 633 extra_args = {constants.COLLECT_TESTS_ONLY: True} 636 self.tr.generate_run_commands([], extra_args), 660 extra_args = {constants.TF_TEMPLATE: 665 self.tr.generate_run_commands([], extra_args), 674 extra_args = {constants.TF_TEMPLATE: 681 self.tr.generate_run_commands([], extra_args), 705 extra_args = {constants.TF_EARLY_DEVICE_RELEASE: True} 708 self.tr.generate_run_commands([], extra_args), [all …]
|
D | suite_plan_test_runner.py | 55 def run_tests(self, test_infos, extra_args, reporter): argument 66 creds, inv = atest_gcp_utils.do_upload_flow(extra_args) 68 run_cmds = self.generate_run_commands(test_infos, extra_args) 73 env_vars=self.generate_env_vars(extra_args)) 91 def _parse_extra_args(self, extra_args): argument 107 for arg in extra_args: 110 args_to_append.append(extra_args[arg]) 113 args_to_append.extend(extra_args[arg]) 117 % extra_args[arg]) 120 % extra_args[arg]) [all …]
|
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 99 extra_args) 100 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 109 def run_tests_pretty(self, test_infos, extra_args, reporter): argument 126 extra_args, 128 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 144 def _get_full_build_environ(self, test_info=None, extra_args=None, argument [all …]
|
D | vts_tf_test_runner.py | 55 def run_tests(self, test_infos, extra_args, reporter): argument 68 run_cmds = self.generate_run_commands(test_infos, extra_args) 75 def _parse_extra_args(self, extra_args): argument 91 for arg in extra_args: 94 args_to_append.append(extra_args[arg]) 97 args_to_append.extend(extra_args[arg]) 108 def generate_run_commands(self, test_infos, extra_args): argument 120 args.extend(self._parse_extra_args(extra_args))
|
D | regression_test_runner.py | 38 def run_tests(self, test_infos, extra_args, reporter): argument 49 run_cmds = self.generate_run_commands(test_infos, extra_args) 75 def generate_run_commands(self, test_infos, extra_args, port=None): argument 88 pre = extra_args.pop(constants.PRE_PATCH_FOLDER) 89 post = extra_args.pop(constants.POST_PATCH_FOLDER)
|
D | example_test_runner.py | 29 def run_tests(self, test_infos, extra_args, reporter): argument 37 run_cmds = self.generate_run_commands(test_infos, extra_args) 61 def generate_run_commands(self, test_infos, extra_args, port=None): argument
|
D | vts_tf_test_runner_unittest.py | 47 extra_args = [] 54 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter)) 60 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter))
|
/tools/asuite/atest/ |
D | atest.py | 221 extra_args = {} 223 extra_args[constants.WAIT_FOR_DEBUGGER] = None 226 extra_args[constants.DISABLE_INSTALL] = None 263 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items() 265 return extra_args 566 def _run_test_mapping_tests(results_dir, test_infos, extra_args, mod_info): argument 580 host_extra_args = extra_args.copy() 583 if extra_args.get(constants.HOST): 588 test_runs.append((device_test_infos, extra_args, DEVICE_TESTS)) 624 def _dry_run(results_dir, extra_args, test_infos, mod_info): argument [all …]
|
D | test_runner_handler.py | 97 extra_args: Dict[str, Any]=None): 115 extra_args=extra_args or {}, 120 def run_all_tests(results_dir, test_infos, extra_args, mod_info, argument 134 collect_only=extra_args.get(constants.COLLECT_TESTS_ONLY), 135 flakes_info=extra_args.get(constants.FLAKES_INFO)) 148 extra_args=extra_args, 150 ret_code = test_runner.run_tests(tests, extra_args, reporter)
|
D | test_runner_handler_unittest.py | 63 def run_tests(self, test_infos, extra_args, reporter): argument 72 def generate_run_commands(self, test_infos, extra_args, port=None): argument 81 def run_tests(self, test_infos, extra_args, reporter): argument 135 extra_args = {} 143 results_dir, test_infos, extra_args, mod_info)[0]) 149 results_dir, test_infos, extra_args, mod_info)[0]) 155 results_dir, test_infos, extra_args, mod_info)[0])
|
D | bazel_mode_unittest.py | 1598 extra_args = {constants.BAZEL_ARG: [['--option1=value1'], 1601 cmd = runner.generate_run_commands(test_infos, extra_args) 1608 extra_args = {constants.CUSTOM_ARGS: ['-hello', '--world=value']} 1610 cmd = runner.generate_run_commands(test_infos, extra_args) 1618 extra_args = {constants.CUSTOM_ARGS: ['-hello', '--world=value'], 1621 cmd = runner.generate_run_commands(test_infos, extra_args) 1630 extra_args = {constants.HOST: True} 1632 cmd = runner.generate_run_commands(test_infos, extra_args) 1641 extra_args = {constants.ITERATIONS: 2} 1643 cmd = runner.generate_run_commands(test_infos, extra_args) [all …]
|
D | bazel_mode.py | 1023 extra_args: Dict[str, Any]=None, 1043 self._extra_args = extra_args or {} 1048 def run_tests(self, test_infos, extra_args, reporter): argument 1059 run_cmds = self.generate_run_commands(test_infos, extra_args) 1123 def generate_run_commands(self, test_infos, extra_args, port=None): argument 1143 bazel_args = self._parse_extra_args(test_infos, extra_args) 1145 if Features.EXPERIMENTAL_BES_PUBLISH in extra_args.get( 1160 extra_args: trb.ARGS) -> trb.ARGS: 1164 extra_args_copy = extra_args.copy()
|
/tools/asuite/atest-py2/ |
D | atest.py | 172 extra_args = {} 174 extra_args[constants.WAIT_FOR_DEBUGGER] = None 177 extra_args[constants.DISABLE_INSTALL] = None 202 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items() 204 return extra_args 462 def _run_test_mapping_tests(results_dir, test_infos, extra_args): argument 475 host_extra_args = extra_args.copy() 478 if extra_args.get(constants.HOST): 483 test_runs.append((device_test_infos, extra_args, DEVICE_TESTS)) 519 def _dry_run(results_dir, extra_args, test_infos): argument [all …]
|
D | test_runner_handler_unittest.py | 53 def run_tests(self, test_infos, extra_args, reporter): argument 62 def generate_run_commands(self, test_infos, extra_args, port=None): argument 71 def run_tests(self, test_infos, extra_args, reporter): argument 123 extra_args = [] 129 results_dir, test_infos, extra_args)[0]) 135 results_dir, test_infos, extra_args)[0]) 141 results_dir, test_infos, extra_args)[0])
|
/tools/asuite/atest/logstorage/ |
D | atest_gcp_utils.py | 196 def do_upload_flow(extra_args): argument 207 creds = fetch_credential(config_folder, extra_args) 210 extra_args[constants.INVOCATION_ID] = inv['invocationId'] 211 extra_args[constants.WORKUNIT_ID] = workunit['id'] 212 extra_args[constants.LOCAL_BUILD_ID] = local_build_id 213 extra_args[constants.BUILD_TARGET] = build_target 224 def fetch_credential(config_folder, extra_args): argument 243 if extra_args.get(constants.REQUEST_UPLOAD_RESULT): 247 if extra_args.get(constants.DISABLE_UPLOAD_RESULT):
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_server.py | 279 def start(self, extra_args='', tag=''): argument 360 def start(self, extra_args='', tag=''): argument 377 command.extend(shlex.split(extra_args)) 512 def start(self, extra_args='', tag='', iperf_binary=None): argument 539 extra_flags=extra_args, 661 def start(self, extra_args='', tag='', iperf_binary=None): argument 686 extra_flags=extra_args,
|