Home
last modified time | relevance | path

Searched refs:returncode (Results 1 – 25 of 42) sorted by relevance

12

/tools/repohooks/rh/
Dutils.py66 def __init__(self, args=None, returncode=None, stdout=None, stderr=None): argument
71 self.returncode = returncode
74 args=args, returncode=returncode, stdout=stdout, stderr=stderr)
100 def __init__(self, returncode, cmd, stdout=None, stderr=None, msg=None, argument
106 super(CalledProcessError, self).__init__(returncode, cmd, stdout)
133 'return code: %s; command: %s' % (self.returncode, self.cmdstr),
172 if proc.returncode is None and proc.pid is not None:
218 if self.returncode is not None:
415 result.returncode = proc.returncode
417 if check and proc.returncode:
[all …]
Dresults.py77 return self.result.returncode not in (None, 0)
80 return self.result.returncode == 77
/tools/acloud/internal/lib/
Dssh.py60 return process.returncode
87 return process.returncode
119 if show_output or process.returncode != 0:
126 if process.returncode == 255:
129 elif process.returncode != 0:
130 raise subprocess.CalledProcessError(process.returncode, cmd)
Dadb_tools_test.py159 mock_popen_obj = mock.Mock(returncode=1)
164 returncode = adb_cmd.EmuCommand("unit", "test")
165 self.assertEqual(returncode, 1)
Dota_tools.py135 if proc.returncode != 0:
137 (command[0], proc.returncode))
Dota_tools_test.py109 popen.returncode = return_value
119 popen.returncode = None
/tools/test/connectivity/acts/framework/tests/
Dacts_job_test.py39 returncode=0, argument
41 self.returncode = returncode
82 return_value=FakePopen(returncode=1))
89 return_value=FakePopen(returncode=1))
/tools/tradefederation/core/atest/test_runners/
Dvts_tf_test_runner_unittest.py45 _mock_popen.return_value.returncode = 0
51 _mock_popen.return_value.returncode = 1
Dsuite_plan_test_runner_unittest.py121 _mock_popen.return_value.returncode = 0
127 _mock_popen.return_value.returncode = 1
Drobolectric_test_runner_unittest.py49 mock_subproc.returncode = 0
56 mock_subproc.returncode = 1
Dregression_test_runner.py53 return proc.returncode
Dtest_runner_base.py144 return proc.returncode
/tools/asuite/atest/test_runners/
Dvts_tf_test_runner_unittest.py48 _mock_popen.return_value.returncode = 0
54 _mock_popen.return_value.returncode = 1
Dsuite_plan_test_runner_unittest.py125 _mock_popen.return_value.returncode = 0
131 _mock_popen.return_value.returncode = 1
Drobolectric_test_runner_unittest.py52 mock_subproc.returncode = 0
59 mock_subproc.returncode = 1
Dregression_test_runner.py53 return proc.returncode
Dtest_runner_base.py137 return proc.returncode
/tools/tradefederation/core/python-lib/tradefed_py/
Dadb_handler.py31 ret = proc.returncode
41 ret = proc.returncode
/tools/test/connectivity/acts_tests/tests/meta/
DActsUnitTest.py57 if test_process.returncode != 0 or killed:
60 (test_process.args, test_process.returncode))
/tools/repohooks/tools/
Dclang-format.py106 if result.returncode:
112 return result.returncode
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py154 exit_status=proc.returncode,
165 if not ignore_status and proc.returncode != 0:
/tools/acloud/create/
Dlocal_image_local_instance.py305 if process.returncode == 0:
309 "%s/launcher.log" % (str(process.returncode), cvd_runtime_dir))
/tools/tradefederation/core/atest/
Datest_utils.py145 if proc.returncode != 0:
153 raise subprocess.CalledProcessError(proc.returncode, cmd, output)
/tools/asuite/atest/
Datest_utils.py164 if proc.returncode != 0:
172 raise subprocess.CalledProcessError(proc.returncode, cmd, output)
/tools/test/openhst/
Dstress_test.py311 if self.process.returncode is not None:
313 self.process.returncode)

12