Home
last modified time | relevance | path

Searched refs:exitCode (Results 1 – 25 of 80) sorted by relevance

1234

/external/llvm-project/libcxx/utils/libcxx/
Dutil.py165 def __init__(self, msg, out, err, exitCode): argument
169 assert isinstance(exitCode, int)
173 self.exitCode = exitCode
222 exitCode = p.wait()
236 exitCode=exitCode
240 if exitCode == -signal.SIGINT:
243 return out, err, exitCode
283 out, err, exitCode = executeCommand(cmd, *args, **kwargs)
284 if exitCode != 0:
285 report = makeReport(cmd, out, err, exitCode)
[all …]
/external/llvm-project/llvm/utils/lit/lit/builtin_commands/
Ddiff.py53 exitCode = 0
72 exitCode = 1
73 return exitCode
84 exitCode = 0
104 exitCode = 1
105 return exitCode
149 exitCode = 0
156 exitCode = 1
160 exitCode = 1
164 exitCode |= compareDirTrees(flags,
[all …]
/external/libcxx/utils/libcxx/
Dutil.py166 def __init__(self, msg, out, err, exitCode): argument
170 assert isinstance(exitCode, int)
174 self.exitCode = exitCode
223 exitCode = p.wait()
237 exitCode=exitCode
241 if exitCode == -signal.SIGINT:
244 return out, err, exitCode
281 out, err, exitCode = executeCommand(cmd, *args, **kwargs)
282 if exitCode != 0:
283 report = makeReport(cmd, out, err, exitCode)
[all …]
/external/libcxx/utils/
Dmerge_archives.py58 exitCode = p.wait()
59 if exitCode == -signal.SIGINT:
61 return out, err, exitCode
68 out, err, exitCode = execute_command(cmd, cwd=cwd)
69 if exitCode != 0 or verbose:
71 if exitCode != 0:
72 report += "Exit Code: %d\n" % exitCode
77 if exitCode != 0:
80 if exitCode != 0:
81 exit_with_cleanups(exitCode)
/external/llvm-project/libcxx/utils/
Dmerge_archives.py58 exitCode = p.wait()
59 if exitCode == -signal.SIGINT:
61 return out, err, exitCode
68 out, err, exitCode = execute_command(cmd, cwd=cwd)
69 if exitCode != 0 or verbose:
71 if exitCode != 0:
72 report += "Exit Code: %d\n" % exitCode
77 if exitCode != 0:
80 if exitCode != 0:
81 exit_with_cleanups(exitCode)
/external/toolchain-utils/compiler_wrapper/
Derrors_test.go37 exitCode, err := wrapSubprocessErrorWithSourceLoc(nil, nil)
38 if exitCode != 0 {
39 t.Errorf("unexpected exit code. Got: %d", exitCode)
47 exitCode, err := wrapSubprocessErrorWithSourceLoc(nil, newExitCodeError(23))
48 if exitCode != 23 {
49 t.Errorf("unexpected exit code. Got: %d", exitCode)
Dclang_syntax_flag.go18 func checkClangSyntax(env env, clangCmd *command, gccCmd *command) (exitCode int, err error) {
30 exitCode, err = wrapSubprocessErrorWithSourceLoc(clangSyntaxCmd,
32 if err != nil || exitCode != 0 {
33 return exitCode, err
Derrors.go37 func wrapSubprocessErrorWithSourceLoc(cmd *command, subprocessErr error) (exitCode int, err error) {
44 if exitCode, ok := getExitCode(subprocessErr); ok {
45 return exitCode, nil
65 func getExitCode(err error) (exitCode int, ok bool) {
Dtestutil_test.go126 func (ctx *testContext) must(exitCode int) *command {
127 if exitCode != 0 {
129 exitCode, ctx.stderrString())
134 func (ctx *testContext) mustFail(exitCode int) string {
135 if exitCode == 0 {
293 func newExitCodeError(exitCode int) error {
296 tmpCmd := exec.Command("/bin/sh", "-c", fmt.Sprintf("exit %d", exitCode))
/external/llvm/utils/lit/lit/
DTestRunner.py116 def __init__(self, command, stdout, stderr, exitCode, timeoutReached, argument
121 self.exitCode = exitCode
376 exitCode = None
417 if exitCode is None:
418 exitCode = res
420 exitCode = min(exitCode, res)
422 exitCode = max(exitCode, res)
424 exitCode = res
434 exitCode = not exitCode
436 return exitCode
[all …]
Dutil.py162 def __init__(self, msg, out, err, exitCode): argument
166 assert isinstance(exitCode, int)
170 self.exitCode = exitCode
217 exitCode = p.wait()
231 exitCode=exitCode
235 if exitCode == -signal.SIGINT:
238 return out, err, exitCode
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp274 int exitCode = 0; in runTest() local
294 exitCode = parseAndSaveValueTree(input, actualPath, "input", opts.features, in runTest()
296 if (exitCode || opts.parseOnly) { in runTest()
297 return exitCode; in runTest()
301 exitCode = rewriteValueTree(rewritePath, root, opts.write, &rewrite); in runTest()
302 if (exitCode) { in runTest()
303 return exitCode; in runTest()
307 exitCode = parseAndSaveValueTree(rewrite, rewriteActualPath, "rewrite", in runTest()
311 return exitCode; in runTest()
317 int exitCode = parseCommandLine(argc, argv, &opts); in main() local
[all …]
/external/llvm-project/llvm/utils/lit/lit/
DTestRunner.py142 def __init__(self, command, stdout, stderr, exitCode, timeoutReached, argument
147 self.exitCode = exitCode
367 exitCode = 0
381 exitCode = 1
382 return ShellCommandResult(cmd, "", stderr.getvalue(), exitCode, False)
412 exitCode = 0
425 exitCode = 1
478 exitCode = 1
479 return ShellCommandResult(cmd, "", stderr.getvalue(), exitCode, False)
681 result.exitCode = int(not result.exitCode)
[all …]
Dutil.py310 def __init__(self, msg, out, err, exitCode): argument
314 assert isinstance(exitCode, int)
318 self.exitCode = exitCode
370 exitCode = p.wait()
384 exitCode=exitCode
388 if exitCode == -signal.SIGINT:
391 return out, err, exitCode
/external/vulkan-validation-layers/build-android/
Dtest_APK.sh189 exitCode=-1;
203 exitCode=0
214 exitCode=1
222 exitCode=2
236 if [ $exitCode -eq -1 ]
276 if [ $exitCode -ne 0 ]
291 exit $exitCode
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DExitTest.java69 int exitCode = 0; in testExit001() local
76 exitCode = debuggeeWrapper.process.exitValue(); in testExit001()
88 logWriter.println("exitCode = " + exitCode); in testExit001()
89 assertEquals("Invalid exit code,", 99, exitCode); in testExit001()
/external/llvm-project/lldb/test/API/
Dlldbtest.py69 out, err, exitCode = lit.util.executeCommand(
76 exitCode = e.exitCode
91 ' '.join(cmd), exitCode)
104 if exitCode:
/external/libchrome/base/test/android/java/src/org/chromium/base/
DMultiprocessTestClientServiceDelegate.java28 public boolean forceStopSynchronous(int exitCode) {
29 System.exit(exitCode);
34 public void forceStop(int exitCode) {
35 System.exit(exitCode);
DITestController.aidl18 boolean forceStopSynchronous(int exitCode); in forceStopSynchronous() argument
24 oneway void forceStop(int exitCode); in forceStop() argument
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DDiagnosticTest.java166 int exitCode = main.format(args); in parseError2() local
168 assertThat(exitCode).isEqualTo(1); in parseError2()
181 int exitCode = main.format(args); in parseErrorStdin() local
183 assertThat(exitCode).isEqualTo(1); in parseErrorStdin()
200 int exitCode = main.format(args); in lexError2() local
202 assertThat(exitCode).isEqualTo(1); in lexError2()
214 int exitCode = main.format(args); in lexErrorStdin() local
216 assertThat(exitCode).isEqualTo(1); in lexErrorStdin()
/external/llvm-project/libcxx/utils/libcxx/test/
Ddsl.py97 out, err, exitCode, timeoutInfo = _executeScriptInternal(test, ['%{build}'])
99 return exitCode == 0
117 _, _, exitCode, _ = _executeScriptInternal(test, ['%{build}'])
118 if exitCode != 0:
121 out, err, exitCode, _ = _executeScriptInternal(test, ["%{{run}} {}".format(' '.join(args))])
122 if exitCode != 0:
141 out, err, exitCode, timeoutInfo = _executeScriptInternal(test, [
144 return exitCode == 0
192 unparsedOutput, err, exitCode, timeoutInfo = _executeScriptInternal(test, [
/external/llvm-project/clang/utils/
DCmpDriver113 self.exitCode = res
205 if infoA.exitCode != infoB.exitCode:
207 print 'A: ',infoA.exitCode
208 print 'B: ',infoB.exitCode
/external/clang/utils/
DCmpDriver113 self.exitCode = res
205 if infoA.exitCode != infoB.exitCode:
207 print 'A: ',infoA.exitCode
208 print 'B: ',infoB.exitCode
/external/lzma/CPP/7zip/UI/Console/
DMainAr.cpp108 catch(NExitCode::EEnum &exitCode) in main() local
112 *g_ErrStream << kInternalExceptionMessage << exitCode << endl; in main()
113 return (exitCode); in main()
/external/llvm-project/llvm/utils/lit/lit/formats/
Dbase.py103 out, err, exitCode = lit.util.executeCommand(cmd)
106 if not exitCode and not diags.strip():
128 out, err, exitCode = lit.util.executeCommand(test.getSourcePath())
130 if not exitCode:

1234