Home
last modified time | relevance | path

Searched refs:extra_args (Results 1 – 25 of 37) sorted by relevance

12

/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py135 def run_tests(self, test_infos, extra_args, reporter): argument
147 reporter.rerun_options = self._extract_rerun_options(extra_args)
152 return self.run_tests_raw(test_infos, extra_args, reporter)
153 return self.run_tests_pretty(test_infos, extra_args, reporter)
155 def run_tests_raw(self, test_infos, extra_args, reporter): argument
166 iterations = self._generate_iterations(extra_args)
171 run_cmds = self.generate_run_commands(test_infos, extra_args)
173 env_vars=self.generate_env_vars(extra_args))
177 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
188 iterations = self._generate_iterations(extra_args)
[all …]
Drobolectric_test_runner.py62 def run_tests(self, test_infos, extra_args, reporter): argument
74 return self.run_tests_raw(test_infos, extra_args, reporter)
75 return self.run_tests_pretty(test_infos, extra_args, reporter)
77 def run_tests_raw(self, test_infos, extra_args, reporter): argument
92 extra_args)
93 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
100 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]
133 def _get_full_build_environ(self, test_info=None, extra_args=None, argument
[all …]
Dsuite_plan_test_runner.py51 def run_tests(self, test_infos, extra_args, reporter): argument
62 run_cmds = self.generate_run_commands(test_infos, extra_args)
70 def _parse_extra_args(self, extra_args): argument
86 for arg in extra_args:
89 args_to_append.append(extra_args[arg])
92 args_to_append.extend(extra_args[arg])
103 def generate_run_commands(self, test_infos, extra_args): argument
116 args.extend(self._parse_extra_args(extra_args))
Dvts_tf_test_runner.py55 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))
Datest_tf_test_runner_unittest.py585 extra_args = {}
588 self.tr.generate_run_commands([], extra_args),
596 extra_args = {constants.COLLECT_TESTS_ONLY: True}
599 self.tr.generate_run_commands([], extra_args),
618 extra_args = {constants.TF_TEMPLATE:
623 self.tr.generate_run_commands([], extra_args),
631 extra_args = {constants.TF_TEMPLATE:
638 self.tr.generate_run_commands([], extra_args),
Dregression_test_runner.py38 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)
Dexample_test_runner.py29 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
Dvts_tf_test_runner_unittest.py44 extra_args = []
51 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter))
57 self.vts_tr.run_tests(test_infos, extra_args, mock_reporter))
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner.py115 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 …]
Drobolectric_test_runner.py61 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 …]
Dsuite_plan_test_runner.py52 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))
Dvts_tf_test_runner.py56 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))
Datest_tf_test_runner_unittest.py581 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),
Dregression_test_runner.py38 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)
Dexample_test_runner.py30 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
Dvts_tf_test_runner_unittest.py41 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))
/tools/asuite/atest/
Datest.py172 extra_args = {}
174 extra_args[constants.WAIT_FOR_DEBUGGER] = None
177 extra_args[constants.DISABLE_INSTALL] = None
203 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items()
205 return extra_args
470 def _run_test_mapping_tests(results_dir, test_infos, extra_args): argument
483 host_extra_args = extra_args.copy()
486 if extra_args.get(constants.HOST):
491 test_runs.append((device_test_infos, extra_args, DEVICE_TESTS))
527 def _dry_run(results_dir, extra_args, test_infos): argument
[all …]
Dtest_runner_handler_unittest.py56 def run_tests(self, test_infos, extra_args, reporter): argument
65 def generate_run_commands(self, test_infos, extra_args, port=None): argument
74 def run_tests(self, test_infos, extra_args, reporter): argument
126 extra_args = {}
132 results_dir, test_infos, extra_args)[0])
138 results_dir, test_infos, extra_args)[0])
144 results_dir, test_infos, extra_args)[0])
Dtest_runner_handler.py107 def run_all_tests(results_dir, test_infos, extra_args, argument
120 collect_only=extra_args.get(constants.COLLECT_TESTS_ONLY),
121 flakes_info=extra_args.get(constants.FLAKES_INFO))
132 ret_code = test_runner.run_tests(tests, extra_args, reporter)
/tools/tradefederation/core/atest/
Datest.py172 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 …]
Dtest_runner_handler_unittest.py53 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/
Diperf_server.py279 def start(self, extra_args='', tag=''): argument
379 def start(self, extra_args='', tag=''): argument
396 command.extend(shlex.split(extra_args))
536 def start(self, extra_args='', tag='', iperf_binary=None): argument
562 extra_flags=extra_args,
684 def start(self, extra_args='', tag='', iperf_binary=None): argument
709 extra_flags=extra_args,
Dandroid_device.py1134 extra_args="", argument
1149 cmd = "iperf3 -c {} {}".format(server_host, extra_args)
1156 extra_args="", argument
1173 "iperf3 -c {} {}".format(server_host, extra_args), timeout=timeout)
1179 def run_iperf_server(self, extra_args=""): argument
1191 out = self.adb.shell("iperf3 -s {}".format(extra_args))
/tools/repohooks/rh/
Dhooks.py759 def _check_pylint(project, commit, _desc, diff, extra_args=None, options=None): argument
765 if extra_args is None:
766 extra_args = []
772 ] + extra_args + options.args(('${PREUPLOAD_FILES}',), filtered)
784 extra_args=['--py3'],
/tools/acloud/create/
Dgoldfish_local_image_local_instance.py201 extra_args = self._ConvertAvdSpecToArgs(avd_spec, instance_dir)
206 inst.adb_port, extra_args)
422 console_port, adb_port, extra_args): argument
460 emulator_cmd.extend(extra_args)

12