Home
last modified time | relevance | path

Searched refs:RunCommand (Results 1 – 25 of 64) sorted by relevance

123

/external/toolchain-utils/automation/common/
Dcommand_executer_test.py85 def RunCommand(self, method, **kwargs): member in CommandExecuterLocalTests
88 return self._executer.RunCommand('%s runHelper %s' % (program, method),
93 exit_code = self.RunCommand('SleepForMinute', command_timeout=3)
99 exit_code = self.RunCommand('IgnoreSigTerm', command_timeout=3)
104 self.assertFalse(self.RunCommand('ReturnTrue'))
107 self.assertTrue(self.RunCommand('ReturnFalse'))
110 self.assertFalse(self.RunCommand('EchoToOutputStream'))
115 self.assertFalse(self.RunCommand('EchoToErrorStream'))
121 self.RunCommand('IsOutputStreamInteractive'),
126 self.RunCommand('IsErrorStreamInteractive'),
[all …]
/external/toolchain-utils/crosperf/
Ddownload_images_unittest.py65 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 1)
72 mock_cmd_exec.RunCommand.assert_called_with(expected_args)
92 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 0)
118 self.assertEqual(mock_cmd_exec.RunCommand.call_count, 2)
120 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[0]), 2)
121 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0]
130 repr(mock_cmd_exec.RunCommand.call_args_list[0][1]))
133 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[1]), 2)
134 actual_arg = mock_cmd_exec.RunCommand.call_args_list[1][0]
140 self.assertTrue('{}' in repr(mock_cmd_exec.RunCommand.call_args_list[1][1]))
[all …]
Ddownload_images.py40 _ = self.ce.RunCommand(self.cleanup_command)
88 status = self._ce.RunCommand(command)
114 retval = self._ce.RunCommand(
121 _ = self._ce.RunCommand(clean_cmd)
131 retval = self._ce.RunCommand(command)
144 status = self._ce.RunCommand(cmd)
166 status = self._ce.RunCommand(command)
180 retval = self._ce.RunCommand(command)
189 retval = self._ce.RunCommand(command)
203 status = self._ce.RunCommand(cmd)
[all …]
Dresults_cache.py69 self.ce.RunCommand(command)
165 self.ce.RunCommand(command, print_to_console=False)
374 ret = self.ce.RunCommand(command, print_to_console=False)
391 self.ce.RunCommand(command)
394 self.ce.RunCommand(command)
422 ret = self.ce.RunCommand(command)
433 self.ce.RunCommand(command)
438 ret = self.ce.RunCommand(command)
441 self.ce.RunCommand(command)
710 self.ce.RunCommand(command)
/external/toolchain-utils/
Dremote_gcc_build.py153 if ce.RunCommand(cmd):
169 return ce.RunCommand(commands)
179 ce.RunCommand(command)
181 ce.RunCommand(command)
183 ce.RunCommand(command)
198 ret = ce.RunCommand(command)
226 ce.RunCommand(commands)
240 ce.RunCommand(command)
243 ce.RunCommand(command)
248 ce.RunCommand(command)
[all …]
Dbuild_tool.py86 if self._ce.RunCommand(diff, print_to_console=False) == 0:
132 ret = self._ce.RunCommand(command)
148 self._ce.RunCommand(
217 if not self._ce.RunCommand(command, print_to_console=True):
274 self._chromeos_root, 'chroot')) and self._ce.RunCommand(
364 rv = command_executer.GetCommandExecuter().RunCommand(cmd)
399 self._ce.RunCommand(('cd $(dirname {0}) && '
440 rv = self._ce.RunCommand(command)
483 self._ce.RunCommand('mkdir -p {}'.format(chroot_ndk_root))
484 if self._ce.RunCommand('sudo mount --bind {} {}'.format(
[all …]
Drepo_to_repo.py84 self._ce.RunCommand(command)
86 self._ce.RunCommand(command)
101 return self._ce.RunCommand(command)
150 ret = self._ce.RunCommand(command)
157 ret = self._ce.RunCommand(command)
176 ret = self._ce.RunCommand(command)
207 return self._ce.RunCommand(command)
216 ret = self._ce.RunCommand(command)
232 ret = self._ce.RunCommand(command)
244 ret = self._ce.RunCommand(command)
[all …]
Dtc_enter_chroot.py38 retv = command_executer.GetCommandExecuter().RunCommand(command)
44 retv = command_executer.GetCommandExecuter().RunCommand(command)
65 return ce.RunCommand('sudo umount %s' % self.mount_dir)
71 retv = command_executer.GetCommandExecuter().RunCommand(command)
219 retv = command_executer.GetCommandExecuter().RunCommand(command)
238 retv = command_executer.GetCommandExecuter().RunCommand('sudo rm -f ' +
246 retv = command_executer.GetCommandExecuter().RunCommand('chmod +x ' +
293 command_executer.GetCommandExecuter().RunCommand(command)
Dweekly_report.py43 cmd_executer.RunCommand(cmd)
86 cmd_executer.RunCommand(cmd)
176 ret = cmd_executer.RunCommand(cmd)
189 ret = cmd_executer.RunCommand(cmd)
237 retv = cmd_executer.RunCommand(cmd)
248 retv = cmd_executer.RunCommand(command)
Dchromiumos_image_diff.py71 rv = self._ce.RunCommand(command, print_to_console=True)
85 self._ce.RunCommand('chmod +x {}'.format(self.unmount_script),
101 if self._ce.RunCommand(command, print_to_console=True) == 0:
102 self._ce.RunCommand('rm {0}'.format(self.unmount_script))
143 command_executer.GetCommandExecuter().RunCommand(
217 ret = cmde.RunCommand(command, print_to_console=False)
229 cmde.RunCommand(command, print_to_console=False)
Dauto_delete_nightly_test_data.py54 if ce.RunCommand(cmd, print_to_console=False, terminated_timeout=480) == 0:
113 rv = ce.RunCommand(cmd, print_to_console=False)
143 rv2 = ce.RunCommand(cmd, print_to_console=False)
164 rv2 = ce.RunCommand(cmd, print_to_console=False)
Dtest_toolchains.py51 return self._ce.RunCommand(command)
56 return self._ce.RunCommand(command)
194 retv = self._ce.RunCommand(copy_cmd)
266 ret = self._ce.RunCommand(command)
272 ret = self._ce.RunCommand(command)
282 self._ce.RunCommand(command)
Dbuild_tc.py83 self._ce.RunCommand(command)
98 self._ce.RunCommand(command)
102 self._ce.RunCommand(command)
172 self._ce.RunCommand(command)
177 self._ce.RunCommand(command)
Dtest_gcc_dejagnu.py51 ret = self._cmd_exec.RunCommand(cmd, terminated_timeout=9000)
67 ret = self._cmd_exec.RunCommand(cmd, terminated_timeout=300)
73 ret = self._cmd_exec.RunCommand(cmd)
/external/v8/tools/clang/scripts/
Dupdate.py196 def RunCommand(command, msvc_arch=None, env=None, fail_hard=True): function
251 if RunCommand(command, fail_hard=False):
259 RunCommand(command)
435 RunCommand(['python', CHROMIUM_DIR+'/build/download_gold_plugin.py'])
524 RunCommand(['cmake'] + bootstrap_args + [LLVM_DIR], msvc_arch='x64')
525 RunCommand(['ninja'], msvc_arch='x64')
529 RunCommand(['ninja', 'check-all'], msvc_arch='x64')
530 RunCommand(['ninja', 'install'], msvc_arch='x64')
566 RunCommand(['ln', '-sf',
591 RunCommand(['cmake'] + lto_cmake_args + [LLVM_DIR], env=lto_env)
[all …]
/external/brotli/appveyor/
Dinstall.ps1136 RunCommand $exepath $install_args in InstallPythonEXE()
143 RunCommand "msiexec.exe" $install_args in InstallPythonMSI()
146 RunCommand "msiexec.exe" $uninstall_args in InstallPythonMSI()
147 RunCommand "msiexec.exe" $install_args in InstallPythonMSI()
151 function RunCommand ($command, $command_args) { in RunCommand() function
/external/libvpx/libvpx/tools/
Dall_builds.py10 def RunCommand(command): function
67 RunCommand(configure_command)
68 RunCommand("make clean")
69 RunCommand("make")
/external/toolchain-utils/fdo_scripts/
Ddivide_and_merge_profiles_test.py30 self._ce.RunCommand('make')
38 self._ce.RunCommand(command)
87 return self._ce.RunCommand(command)
98 self._ce.RunCommand(command)
107 self._ce.RunCommand(command)
Ddivide_and_merge_profiles.py36 self._ce.RunCommand(command)
65 self._ce.RunCommand(command)
67 self._ce.RunCommand(command)
80 ret = self._ce.RunCommand(command)
84 self._ce.RunCommand(command)
/external/toolchain-utils/cros_utils/
Dmisc.py120 retval = ce.RunCommand(command)
125 retval2 = ce.RunCommand(command)
320 return command_executer.GetCommandExecuter().RunCommand(
328 return command_executer.GetCommandExecuter().RunCommand(
337 return command_executer.GetCommandExecuter().RunCommand(
438 if command_executer.GetCommandExecuter().RunCommand(
451 return command_executer.GetCommandExecuter().RunCommand(
Dcommand_executer.py183 def RunCommand(self, *args, **kwargs): member in CommandExecuter
371 ret = self.RunCommand('cd %s; cros_sdk %s -- true' %
422 return self.RunCommand(cmd,
467 return self.RunCommand(command,
474 return self.RunCommand(command,
487 return self.RunCommand(command,
664 def RunCommand(self, *args, **kwargs): member in MockCommandExecuter
/external/toolchain-utils/binary_search_tool/
Dbinary_search_perforce.py275 self.ce.RunCommand(command)
303 self.ce.RunCommand(command)
312 self.ce.RunCommand(command)
318 self.ce.RunCommand(command)
361 self.current_ce.RunCommand(command)
373 self.current_ce.RunCommand(command)
427 status = ce.RunCommand(command)
/external/toolchain-utils/deprecated/
Dbuild_benchmarks.py81 retval = cmd_executer.RunCommand('chmod +x %s' % runshfile)
107 retval = cmd_executer.RunCommand(command)
111 retval = cmd_executer.RunCommand(command)
120 retval = cmd_executer.RunCommand(command)
/external/toolchain-utils/dejagnu/
Drun_dejagnu.py181 rv = self._executer.RunCommand(command)
186 rv = self._executer.RunCommand(command)
194 rv = self._executer.RunCommand(command)
251 self._executer.RunCommand(
278 self._executer.RunCommand(
/external/pdfium/testing/tools/
Dpngdiffer.py63 error = common.RunCommand(
70 error = common.RunCommand(

123