Home
last modified time | relevance | path

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

12345678910>>...15

/external/bc/
Dkaratsuba.py109 if p.returncode != 0:
110 print("configure.sh returned an error ({}); exiting...".format(p.returncode))
111 sys.exit(p.returncode)
115 if p.returncode == 0:
126 if p.returncode != 0:
127 print("make returned an error ({}); exiting...".format(p.returncode))
128 sys.exit(p.returncode)
132 if p.returncode == 0:
150 if p.returncode != 0:
151 print("configure.sh returned an error ({}); exiting...".format(p.returncode))
[all …]
/external/selinux/python/semanage/
Dtest-semanage.py35 self.assertSuccess(p.returncode, err)
41 self.assertSuccess(p.returncode, err)
45 self.assertSuccess(p.returncode, err)
49 self.assertSuccess(p.returncode, err)
53 self.assertSuccess(p.returncode, err)
57 self.assertSuccess(p.returncode, err)
61 self.assertSuccess(p.returncode, err)
70 self.assertSuccess(p.returncode, err)
79 self.assertSuccess(p.returncode, err)
88 self.assertSuccess(p.returncode, err)
[all …]
/external/selinux/python/sepolicy/
Dtest_sepolicy.py30 self.assertSuccess(p.returncode, err)
36 self.assertSuccess(p.returncode, err)
42 self.assertSuccess(p.returncode, err)
48 self.assertSuccess(p.returncode, err)
54 self.assertSuccess(p.returncode, err)
60 self.assertSuccess(p.returncode, err)
66 self.assertSuccess(p.returncode, err)
72 self.assertSuccess(p.returncode, err)
78 self.assertSuccess(p.returncode, err)
84 self.assertSuccess(p.returncode, err)
[all …]
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_tests_runner.py72 if tcp_connect_subprocess.returncode == 0:
82 if dns_resolver_subprocess.returncode == 0:
131 if current_test_subprocess.returncode != 0:
143 if current_test_subprocess.returncode != 0:
155 if current_test_subprocess.returncode != 0:
167 if current_test_subprocess.returncode != 0:
179 if current_test_subprocess.returncode != 0:
191 if current_test_subprocess.returncode != 0:
203 if current_test_subprocess.returncode != 0:
215 if current_test_subprocess.returncode != 0:
[all …]
/external/oss-fuzz/infra/cifuzz/
Dbuild_fuzzers_entrypoint.py59 returncode = 0
62 returncode = 1
66 return returncode
72 return returncode
79 returncode = 0
88 returncode = 0
90 return returncode
Drun_fuzzers_entrypoint.py72 returncode = 1
75 returncode = 0
79 return returncode
87 return returncode
/external/llvm-project/lldb/packages/Python/lldbsuite/test/test_runner/
Dprocess_control.py200 def was_soft_terminate(self, returncode, with_core): argument
224 def was_hard_terminate(self, returncode): argument
342 if popen_process.returncode is not None:
348 popen_process.pid, popen_process.returncode))
400 def was_soft_terminate(self, returncode, with_core): argument
402 return returncode == -signal.SIGQUIT
404 return returncode == -signal.SIGTERM
406 def was_hard_terminate(self, returncode): argument
407 return returncode == -signal.SIGKILL
449 def was_hard_terminate(self, returncode): argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_audit.py26 if p.returncode:
40 p.returncode,
72 returncode, events, stderr = self.run_python("test_excepthook")
73 if not returncode:
81 returncode, events, stderr = self.run_python("test_unraisablehook")
82 if returncode:
93 returncode, events, stderr = self.run_python("test_winreg")
94 if returncode:
107 returncode, events, stderr = self.run_python("test_socket")
108 if returncode:
/external/harfbuzz_ng/test/fuzzing/
Drun-shape-fuzzer-tests.py49 returncode = p.returncode
55 returncode = 1
57 return text, returncode
92 …text, returncode = cmd (libtool.split(' ') + ['--mode=execute', valgrind + ' --leak-check=full --e… variable
94 text, returncode = cmd ([hb_shape_fuzzer, path]) variable
96 returncode = 1 variable
98 if (not valgrind or returncode) and text.strip ():
101 if returncode != 0:
Drun-subset-fuzzer-tests.py49 returncode = p.returncode
55 returncode = 1
57 return text, returncode
96 …text, returncode = cmd (libtool.split(' ') + ['--mode=execute', valgrind + ' --leak-check=full --s…
98 text, returncode = cmd ([hb_subset_fuzzer, path])
100 returncode = 1
102 if (not valgrind or returncode) and text.strip ():
105 if returncode != 0:
/external/llvm-project/lldb/test/API/test_runner/test/
Dtest_process_control.py38 self.returncode = None
51 self.returncode = exit_status
54 self.returncode = exit_status
107 self.assertEqual(driver.returncode, 0, "return code does not match")
115 self.assertEqual(driver.returncode, 10, "return code does not match")
131 self.assertEqual(driver.returncode, 0)
159 helper.was_soft_terminate(driver.returncode, with_core),
161 "for soft terminate with core: {}").format(driver.returncode))
200 helper.was_hard_terminate(driver.returncode),
203 driver.returncode,
[all …]
/external/autotest/client/cros/faft/utils/
Dshell_wrapper.py62 if block and process.returncode:
64 returncode = process.returncode
66 result = utils.CmdResult(cmd, stdout, stderr, returncode, duration)
82 returncode = process.returncode
84 result = utils.CmdResult(cmd, stdout, stderr, returncode, duration)
86 if returncode and not ignore_status:
121 return process.returncode
/external/icu/icu4c/source/python/icutools/databuilder/renderers/
Dcommon_exec.py105 returncode = run_shell_command(command_line, platform, verbose)
106 if returncode != 0:
107 return returncode
118 returncode = run_shell_command(command_line, platform, verbose)
119 return returncode
138 returncode = subprocess.call(
145 returncode = subprocess.call(
153 if returncode != 0:
155 return returncode
/external/python/cpython3/Lib/multiprocessing/
Dpopen_fork.py17 self.returncode = None
25 if self.returncode is None:
33 self.returncode = os.waitstatus_to_exitcode(sts)
34 return self.returncode
37 if self.returncode is None:
44 return self.returncode
47 if self.returncode is None:
/external/autotest/server/
Dsubcommand.py135 self.returncode = None
167 self.returncode = None
210 self.returncode = -os.WTERMSIG(sts)
212 self.returncode = os.WEXITSTATUS(sts)
217 if self.returncode != 0:
220 print("rc=%d" % self.returncode)
228 raise error.AutoservSubcommandError(self.func, self.returncode)
235 if self.returncode is None:
242 return self.returncode
249 if self.returncode is None:
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/Util/
DPfwUnitTestLib.py53 … not send command to Test platform as it has died. Return code: %s" % self.remoteProcess.returncode
68returncode == 0) == expectSuccess, "Unexpected command result:\nexpectedSuccess=%s\nCMD=%s\nreturn…
89 …oll() == None, "Test platform has failed to start. Return code: %s" % self.remoteProcess.returncode
105 returncode = self.remoteProcess.wait()
106 assert returncode == 0, "test-platform did not stop succesfully: %s" % returncode
/external/selinux/sandbox/
Dtest_sandbox.py52 self.assertFailure(p.returncode)
58 self.assertFailure(p.returncode)
70 self.assertFailure(p.returncode)
76 self.assertSuccess(p.returncode, err)
82 self.assertSuccess(p.returncode, err)
90 self.assertSuccess(p.returncode, err)
98 self.assertSuccess(p.returncode, err)
105 self.assertSuccess(p.returncode, err)
/external/clang/tools/scan-view/share/
Dstartfile.py64 returncode = pipe.wait()
66 returncode = self.fixreturncode(returncode)
67 return not returncode
136 def fixreturncode(self, returncode): argument
137 if returncode is not None and self.kde_version > '3.5.4':
138 return returncode
/external/llvm-project/clang/tools/scan-view/share/
Dstartfile.py67 returncode = pipe.wait()
69 returncode = self.fixreturncode(returncode)
70 return not returncode
142 def fixreturncode(self, returncode): argument
143 if returncode is not None and self.kde_version > '3.5.4':
144 return returncode
/external/oss-fuzz/infra/base-images/base-builder/
Dbisect_clang_test.py94 output=bytes('', 'utf-8'), err=bytes('', 'utf-8'), returncode=0): argument
109 self.returncode = returncode
125 return self.returncode
169 def _test_test_start_commit_unexpected(self, label, commit, returncode): argument
175 return returncode, '', ''
199 def _test_test_start_commit_expected(self, label, commit, returncode, argument
208 return returncode, '', ''
246 def _test_test_commit(self, label, output, returncode, mock_build_clang): argument
253 return returncode, output, ''
/external/python/cpython3/Lib/
Dsubprocess.py115 def __init__(self, returncode, cmd, output=None, stderr=None): argument
116 self.returncode = returncode
122 if self.returncode and self.returncode < 0:
125 self.cmd, signal.Signals(-self.returncode))
128 self.cmd, -self.returncode)
131 self.cmd, self.returncode)
435 def __init__(self, args, returncode, stdout=None, stderr=None): argument
437 self.returncode = returncode
443 'returncode={!r}'.format(self.returncode)]
455 if self.returncode:
[all …]
/external/openscreen/tools/cddl/
Dcddl.py92 returncode = process.returncode
93 if returncode != None and returncode != 0:
95 sys.exit("\t\tERROR: Command failed with error code: '%i'!" % returncode)
97 print("\t\tWARNING: Command failed with error code: '%i'!" % returncode)
/external/perfetto/src/base/
Dsubprocess_unittest.cc64 EXPECT_EQ(p.returncode(), ERROR_FILE_NOT_FOUND); in TEST()
66 EXPECT_EQ(p.returncode(), 128); in TEST()
117 EXPECT_EQ(p.returncode(), 0); in TEST()
128 EXPECT_EQ(p.returncode(), 1); in TEST()
140 EXPECT_EQ(p.returncode(), 0); in TEST()
155 EXPECT_EQ(p.returncode(), 0); in TEST()
222 EXPECT_EQ(p.returncode(), 0); in TEST()
257 EXPECT_EQ(p.returncode(), static_cast<int>(STATUS_CONTROL_C_EXIT)); in TEST()
259 EXPECT_EQ(p.returncode(), static_cast<int>(128 + SIGKILL)); in TEST()
290 EXPECT_EQ(p.returncode(), 0); in TEST()
[all …]
/external/skqp/tools/
Dbuild_command_buffer.py98 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
105 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
114 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
122 error.returncode, error.cmd, chrome_src_dir))
138 error.returncode, error.cmd, chrome_src_dir))
145 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode,
/external/selinux/dbus/
Dselinux_server.py30 if p.returncode and p.returncode != 0:
44 if p.returncode and p.returncode != 0:
58 if p.returncode and p.returncode != 0:

12345678910>>...15