Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/atest/test_runners/
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 …]
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 …]
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))
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))
Dsuite_plan_test_runner_unittest.py117 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))
Drobolectric_test_runner_unittest.py46 extra_args = []
54 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter))
59 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter))
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py117 def run_tests(self, test_infos, extra_args, reporter): argument
129 reporter.rerun_options = self._extract_rerun_options(extra_args)
134 return self.run_tests_raw(test_infos, extra_args, reporter)
135 return self.run_tests_pretty(test_infos, extra_args, reporter)
137 def run_tests_raw(self, test_infos, extra_args, reporter): argument
148 iterations = self._generate_iterations(extra_args)
153 run_cmds = self.generate_run_commands(test_infos, extra_args)
155 env_vars=self.generate_env_vars(extra_args))
159 def run_tests_pretty(self, test_infos, extra_args, reporter): argument
170 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))
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))
Dsuite_plan_test_runner_unittest.py121 extra_args = []
128 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter))
134 self.suite_tr.run_tests(test_infos, extra_args, mock_reporter))
Drobolectric_test_runner_unittest.py49 extra_args = []
57 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter))
62 self.suite_tr.run_tests_raw(test_infos, extra_args, mock_reporter))
/tools/asuite/atest/
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])
Datest.py176 extra_args = {}
178 extra_args[constants.WAIT_FOR_DEBUGGER] = None
181 extra_args[constants.DISABLE_INSTALL] = None
206 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items()
208 return extra_args
473 def _run_test_mapping_tests(results_dir, test_infos, extra_args): argument
486 host_extra_args = extra_args.copy()
489 if extra_args.get(constants.HOST):
494 test_runs.append((device_test_infos, extra_args, DEVICE_TESTS))
530 def _dry_run(results_dir, extra_args, test_infos): argument
[all …]
Dtest_runner_handler.py107 def run_all_tests(results_dir, test_infos, extra_args, argument
130 ret_code = test_runner.run_tests(tests, extra_args, reporter)
147 return (reporter.print_summary(extra_args.get(constants.COLLECT_TESTS_ONLY))
/tools/tradefederation/core/atest/
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])
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.py106 def run_all_tests(results_dir, test_infos, extra_args, argument
129 ret_code = test_runner.run_tests(tests, extra_args, reporter)
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/apps/
Dapp_installer.py85 def install(self, *extra_args): argument
94 args = '-r %s' % ' '.join(extra_args)
97 def uninstall(self, *extra_args): argument
109 'pm uninstall %s %s' % (' '.join(extra_args), self.pkg_name))
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_server.py278 def start(self, extra_args='', tag=''): argument
359 def start(self, extra_args='', tag=''): argument
376 command.extend(shlex.split(extra_args))
488 def start(self, extra_args='', tag='', iperf_binary=None): argument
512 extra_flags=extra_args,
614 def start(self, extra_args='', tag='', iperf_binary=None): argument
639 extra_flags=extra_args,

12