Home
last modified time | relevance | path

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

12

/tools/repohooks/rh/
Dutils.py62 def __init__(self, args=None, returncode=None, stdout=None, stderr=None): argument
67 self.returncode = returncode
70 args=args, returncode=returncode, stdout=stdout, stderr=stderr)
96 def __init__(self, returncode, cmd, stdout=None, stderr=None, msg=None, argument
102 super(CalledProcessError, self).__init__(returncode, cmd, stdout)
129 'return code: %s; command: %s' % (self.returncode, self.cmdstr),
168 if proc.returncode is None and proc.pid is not None:
214 if self.returncode is not None:
411 result.returncode = proc.returncode
413 if check and proc.returncode:
[all …]
Dresults.py74 return self.result.returncode not in (None, 0)
77 return self.result.returncode == 77
Dhooks.py316 if result.returncode not in (None, 0):
902 if result.returncode:
Dgit.py203 return result.returncode == 0
/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/acloud/internal/lib/
Dssh.py60 return process.returncode
87 return process.returncode
120 if show_output or process.returncode != 0:
127 if process.returncode == 255:
130 elif process.returncode != 0:
131 raise subprocess.CalledProcessError(process.returncode, cmd)
Dadb_tools_test.py173 mock_popen_obj = mock.Mock(returncode=1)
178 returncode = adb_cmd.EmuCommand("unit", "test")
179 self.assertEqual(returncode, 1)
Dota_tools.py160 if proc.returncode != 0:
162 (command[0], proc.returncode))
Dota_tools_test.py110 popen.returncode = return_value
120 popen.returncode = None
Dadb_tools.py292 return proc.returncode
/tools/asuite/atest-py2/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.py51 _mock_popen.return_value.returncode = 0
57 _mock_popen.return_value.returncode = 1
Dsuite_plan_test_runner_unittest.py127 _mock_popen.return_value.returncode = 0
133 _mock_popen.return_value.returncode = 1
Drobolectric_test_runner_unittest.py53 mock_subproc.returncode = 0
60 mock_subproc.returncode = 1
Dregression_test_runner.py53 return proc.returncode
Dtest_runner_base.py137 return 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.py103 if result.returncode:
109 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/asuite/atest-py2/
Datest_utils.py145 if proc.returncode != 0:
153 raise subprocess.CalledProcessError(proc.returncode, cmd, output)
/tools/test/connectivity/acts/framework/
Dsetup.py97 sys.exit(result.returncode)

12