Home
last modified time | relevance | path

Searched refs:run_cmd (Results 1 – 16 of 16) sorted by relevance

/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner_unittest.py63 run_cmd = []
65 run_cmd.append(
72 self, self.suite_tr.generate_run_commands(test_infos, ''), run_cmd
76 run_cmd = []
77 run_cmd.append(
87 run_cmd,
102 run_cmd = []
104 run_cmd.append(
111 self, self.suite_tr.generate_run_commands(test_infos, ''), run_cmd
115 run_cmd = []
[all …]
Drobolectric_test_runner.py99 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
101 run_cmd, output_to_stdout=self.is_verbose, env_vars=full_env_vars
127 run_cmd = self.generate_run_commands([test_info], extra_args)[0]
129 run_cmd, output_to_stdout=self.is_verbose, env_vars=full_env_vars
277 run_cmd = ' '.join(x for x in robo_command)
279 run_cmd = run_cmd.replace(
282 run_cmds.append(run_cmd)
Dexample_test_runner.py42 for run_cmd in run_cmds:
43 super(ExampleTestRunner).run(run_cmd)
Dvts_tf_test_runner.py73 for run_cmd in run_cmds:
74 proc = super().run(run_cmd, output_to_stdout=True)
Dsuite_plan_test_runner.py76 for run_cmd in run_cmds:
79 run_cmd,
Datest_tf_test_runner_unittest.py1136 run_cmd = self.tr.generate_run_commands(
1141 str(run_cmd).find(
1170 run_cmd = self.tr.generate_run_commands(
1176 str(run_cmd).find(
1183 self.assertTrue(str(run_cmd).find('metric_post_processor=a/b/c') > 0)
/tools/test/connectivity/acts/framework/acts/controllers/amarisoft_lib/
Dconfig_utils.py75 self.remote.run_cmd('rm -f ' + cfg_path)
96 self.remote.run_cmd('rm -f ' + cfg_path)
118 self.remote.run_cmd(f'sed -i \'s/\\r//g\' {cfg_path}')
119 self.remote.run_cmd(
138 self.remote.run_cmd(f'sed -i \'s/\\r//g\' {cfg_path}')
139 self.remote.run_cmd(
158 self.remote.run_cmd(f'sed -i \'s/\\r//g\' {cfg_path}')
159 self.remote.run_cmd(
178 self.remote.run_cmd(f'sed -i \'s/\\r//g\' {cfg_path}')
179 self.remote.run_cmd(
[all …]
Damarisoft_client.py120 self.run_cmd('systemctl stop lte')
124 self.run_cmd('systemctl start lte')
128 self.run_cmd('systemctl restart lte')
132 self.run_cmd('systemctl enable lte')
136 self.run_cmd('systemctl disable lte')
145 for line in self.run_cmd('systemctl is-active lte'))
158 self.run_cmd(f'ln -sfn {path} /root/{cfg_type}')
171 result = self.run_cmd(f'readlink /root/{cfg_type}')
194 self.run_cmd(f'ln -sfn {cfg_file} {cfg_link}')
207 result = self.run_cmd(f'readlink {cfg_path}')
Dssh_utils.py95 def run_cmd(self, cmd: str) -> Sequence[str]: member in RemoteClient
128 return any('exist' in line for line in self.run_cmd(
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_client.py75 self.run_cmd('--collector',
82 self.run_cmd('--collector',
87 def run_cmd(self, *args, timeout=60): member in BitsClient
118 self.run_cmd('--name',
154 self.run_cmd(*cmd, timeout=600)
184 self.run_cmd('--name',
218 self.run_cmd(*cmd)
231 self.run_cmd('--collector',
259 self.run_cmd(*cmd, timeout=10)
268 self.run_cmd(*cmd, timeout=10)
[all …]
/tools/asuite/atest/
Drun_atest_unittests.sh70 local run_cmd=$PYTHON
77 run_cmd="coverage run --source $ATEST_REAL_PATH --append"
81 if ! PYTHONPATH=$(get_pythonpath) $run_cmd $test_file; then
Datest_main.py713 for run_cmd in run_cmds:
714 all_run_cmds.append(run_cmd)
715 logging.debug(_DRY_RUN_COMMAND_LOG_PREFIX + run_cmd)
717 'Would run test via command: %s' % (atest_utils.mark_green(run_cmd))
Dbazel_mode.py1809 for run_cmd in run_cmds:
1810 subproc = self.run(run_cmd, output_to_stdout=True)
/tools/acloud/
Drun_tests_py2.sh44 local run_cmd="python -m coverage run --append"
69 if ! PYTHONPATH=$(get_python_path):$PYTHONPATH $run_cmd $t; then
Drun_tests.sh46 local run_cmd="python3 -m coverage run --append"
71 if ! PYTHONPATH=$(get_python_path):$PYTHONPATH $run_cmd $t; then
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/
Dbits_client_test.py64 client.run_cmd('-i', '-am', '-not', '-a', '-teapot', timeout=12345)