/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 141 def run_tests(self, test_infos, extra_args, reporter): argument 153 reporter.rerun_options = self._extract_rerun_options(extra_args) 158 creds, inv = self._do_upload_flow(extra_args) 161 result = self.run_tests_raw(test_infos, extra_args, reporter) 162 result = self.run_tests_pretty(test_infos, extra_args, reporter) 177 def _do_upload_flow(self, extra_args): argument 190 extra_args.get(constants.REQUEST_UPLOAD_RESULT, None)) 193 extra_args[constants.INVOCATION_ID] = inv['invocationId'] 194 extra_args[constants.WORKUNIT_ID] = workunit['id'] 297 def run_tests_raw(self, test_infos, extra_args, reporter): argument [all …]
|
D | robolectric_test_runner.py | 66 def run_tests(self, test_infos, extra_args, reporter): argument 79 return self.run_tests_pretty(test_infos, extra_args, reporter) 80 return self.run_tests_raw(test_infos, extra_args, reporter) 82 def run_tests_raw(self, test_infos, extra_args, reporter): argument 97 extra_args) 98 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 105 def run_tests_pretty(self, test_infos, extra_args, reporter): argument 122 extra_args, 124 run_cmd = self.generate_run_commands([test_info], extra_args)[0] 138 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 | suite_plan_test_runner.py | 50 def run_tests(self, test_infos, extra_args, reporter): argument 61 run_cmds = self.generate_run_commands(test_infos, extra_args) 68 def _parse_extra_args(self, extra_args): argument 84 for arg in extra_args: 87 args_to_append.append(extra_args[arg]) 90 args_to_append.extend(extra_args[arg]) 101 def generate_run_commands(self, test_infos, extra_args): argument 114 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 | atest_tf_test_runner_unittest.py | 597 extra_args = {} 600 self.tr.generate_run_commands([], extra_args), 609 extra_args = {constants.COLLECT_TESTS_ONLY: True} 612 self.tr.generate_run_commands([], extra_args), 632 extra_args = {constants.TF_TEMPLATE: 637 self.tr.generate_run_commands([], extra_args), 646 extra_args = {constants.TF_TEMPLATE: 653 self.tr.generate_run_commands([], extra_args), 714 extra_args = {constants.TF_EARLY_DEVICE_RELEASE: True} 717 self.tr.generate_run_commands([], extra_args),
|
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))
|
D | suite_plan_test_runner_unittest.py | 123 extra_args = [] 130 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter)) 136 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter))
|
D | robolectric_test_runner_unittest.py | 50 extra_args = [] 58 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter)) 63 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter))
|
/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 | 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),
|
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 | suite_plan_test_runner_unittest.py | 117 extra_args = [] 124 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter)) 130 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter))
|
/tools/asuite/atest/ |
D | atest.py | 177 extra_args = {} 179 extra_args[constants.WAIT_FOR_DEBUGGER] = None 182 extra_args[constants.DISABLE_INSTALL] = None 210 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items() 212 return extra_args 480 def _run_test_mapping_tests(results_dir, test_infos, extra_args, mod_info): argument 494 host_extra_args = extra_args.copy() 497 if extra_args.get(constants.HOST): 502 test_runs.append((device_test_infos, extra_args, DEVICE_TESTS)) 538 def _dry_run(results_dir, extra_args, test_infos, mod_info): argument [all …]
|
D | test_runner_handler_unittest.py | 60 def run_tests(self, test_infos, extra_args, reporter): argument 69 def generate_run_commands(self, test_infos, extra_args, port=None): argument 78 def run_tests(self, test_infos, extra_args, reporter): argument 131 extra_args = {} 139 results_dir, test_infos, extra_args, mod_info)[0]) 145 results_dir, test_infos, extra_args, mod_info)[0]) 151 results_dir, test_infos, extra_args, mod_info)[0])
|
D | test_runner_handler.py | 107 def run_all_tests(results_dir, test_infos, extra_args, module_info, argument 121 collect_only=extra_args.get(constants.COLLECT_TESTS_ONLY), 122 flakes_info=extra_args.get(constants.FLAKES_INFO)) 133 ret_code = test_runner.run_tests(tests, extra_args, reporter)
|
/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/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)) 500 def start(self, extra_args='', tag='', iperf_binary=None): argument 526 extra_flags=extra_args, 648 def start(self, extra_args='', tag='', iperf_binary=None): argument 673 extra_flags=extra_args,
|