Searched refs:exit_code (Results 1 - 25 of 181) sorted by relevance

12345678

/external/libcxx/test/libcxx/android/
H A Dadb.py5 def __init__(self, cmd, out, err, exit_code):
10 self.exit_code = exit_code
15 out, err, exit_code = lit.util.executeCommand(cmd)
16 if exit_code != 0:
17 raise AdbError(cmd, out, err, exit_code)
22 out, err, exit_code = lit.util.executeCommand(cmd)
23 if exit_code != 0:
24 raise AdbError(cmd, out, err, exit_code)
/external/google-breakpad/src/testing/test/
H A Dgmock_leak_test.py51 gmock_test_utils.Subprocess(TEST_WITH_EXPECT_CALL).exit_code)
54 gmock_test_utils.Subprocess(TEST_WITH_ON_CALL).exit_code)
60 ['--gmock_catch_leaked_mocks=0']).exit_code)
64 ['--gmock_catch_leaked_mocks=0']).exit_code)
70 ['--gmock_catch_leaked_mocks']).exit_code)
74 ['--gmock_catch_leaked_mocks']).exit_code)
80 ['--gmock_catch_leaked_mocks=1']).exit_code)
86 ['--gmock_catch_leaked_mocks']).exit_code)
H A Dgmock_test_utils.py76 def GetExitStatus(exit_code):
80 exit_code: the result value of os.system(command).
86 return exit_code
90 if os.WIFEXITED(exit_code):
91 return os.WEXITSTATUS(exit_code)
/external/v8/tools/testrunner/objects/
H A Doutput.py35 def __init__(self, exit_code, timed_out, stdout, stderr, pid):
36 self.exit_code = exit_code
44 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code)
46 # Timed out tests will have exit_code -signal.SIGTERM.
49 return (self.exit_code < 0 and
50 self.exit_code != -signal.SIGABRT)
56 return [self.exit_code, self.timed_out, self.stdout, self.stderr, self.pid]
/external/webrtc/webrtc/base/
H A Dposix.cc56 int exit_code = 0; local
58 exit_code |= EXIT_FLAG_CHDIR_ERRORS;
63 exit_code |= EXIT_FLAG_FDWALK_ERRORS;
66 exit_code |= EXIT_FLAG_CLOSE_ERRORS;
76 exit_code |= EXIT_FLAG_SECOND_FORK_FAILED;
77 _exit(exit_code); // if second fork failed
91 _exit(exit_code);
111 int exit_code = WEXITSTATUS(status); local
112 if (exit_code & EXIT_FLAG_CHDIR_ERRORS) {
116 if (exit_code
[all...]
/external/gmock/test/
H A Dgmock_leak_test.py62 env=environ).exit_code)
66 env=environ).exit_code)
73 env=environ).exit_code)
78 env=environ).exit_code)
85 env=environ).exit_code)
90 env=environ).exit_code)
97 env=environ).exit_code)
104 env=environ).exit_code)
H A Dgmock_test_utils.py76 def GetExitStatus(exit_code):
80 exit_code: the result value of os.system(command).
86 return exit_code
90 if os.WIFEXITED(exit_code):
91 return os.WEXITSTATUS(exit_code)
/external/libchrome/base/process/
H A Dkill.cc12 int exit_code,
18 result &= process.Terminate(exit_code, true);
11 KillProcesses(const FilePath::StringType& executable_name, int exit_code, const ProcessFilter* filter) argument
H A Dkill.h51 int exit_code,
61 // circumstances of the child process' death. |exit_code| is set to
63 // GetExitCodeProcess() on Windows. |exit_code| may be NULL if the
69 int* exit_code);
88 ProcessHandle handle, int* exit_code);
108 int exit_code,
H A Dkill_posix.cc29 int* exit_code) {
35 if (exit_code)
36 *exit_code = 0;
40 if (exit_code)
41 *exit_code = 0;
45 if (exit_code)
46 *exit_code = status;
87 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { argument
88 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code);
92 int* exit_code) {
27 GetTerminationStatusImpl(ProcessHandle handle, bool can_block, int* exit_code) argument
91 GetKnownDeadTerminationStatus(ProcessHandle handle, int* exit_code) argument
123 CleanupProcesses(const FilePath::StringType& executable_name, TimeDelta wait, int exit_code, const ProcessFilter* filter) argument
[all...]
/external/libbrillo/brillo/daemons/
H A Ddbus_daemon.cc22 int exit_code = Daemon::OnInit(); local
23 if (exit_code != EX_OK)
24 return exit_code;
29 return exit_code;
49 int exit_code = DBusDaemon::OnInit(); local
50 if (exit_code != EX_OK)
51 return exit_code;
H A Ddaemon.cc25 int exit_code = OnInit(); local
26 if (exit_code != EX_OK)
27 return exit_code;
45 void Daemon::QuitWithExitCode(int exit_code) { argument
46 exit_code_ = exit_code;
71 void Daemon::OnShutdown(int* /* exit_code */) {
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
H A DTest.pm90 if ($g_result->{exit_code} >> 8 != 0) {
99 if ($test_result->{exit_code} >> 8 != 0) {
124 my $exit_code = $?;
139 if ($exit_code < 0) {
140 $exit_value = $exit_code;
141 } elsif ($exit_code && 0xff) {
142 $exit_value = "[SIGNAL $exit_code]";
144 $exit_value = $exit_code >> 8;
148 exit_code => $exit_code,
[all...]
/external/jemalloc/test/src/
H A Dthd.c18 DWORD exit_code; local
19 GetExitCodeThread(thd, (LPDWORD) &exit_code);
20 *ret = (void *)(uintptr_t)exit_code;
/external/v8/build/android/pylib/junit/
H A Dtest_dispatcher.py22 exit_code = 0
27 exit_code = constants.ERROR_EXIT_CODE
28 return (test_run_results, exit_code)
/external/autotest/cli/
H A Datest_unittest.py28 outputs = self.run_cmd(argv + [help], exit_code=0,
62 self.run_cmd(['atest'], exit_code=1,
69 self.run_cmd(['atest', 'bad_topic'], exit_code=1,
76 self.run_cmd(['atest', 'host', 'bad_action'], exit_code=1,
/external/v8/tools/
H A Dfuzz-harness.sh93 exit_code=$(cat w* | grep " looking good" -c)
94 exit_code=$((100-exit_code))
105 echo "Total failures: $exit_code"
106 exit $exit_code
/external/v8/tools/jsfunfuzz/
H A Dfuzz-harness.sh71 exit_code=$(cat w* | grep " looking good" -c)
72 exit_code=$((100-exit_code))
83 echo "Total failures: $exit_code"
84 exit $exit_code
/external/autotest/client/site_tests/kernel_AsyncDriverProbe/
H A Dkernel_AsyncDriverProbe.py49 exit_code = subprocess.call(["modprobe", "-n", "-q", module])
50 if exit_code:
54 (module, exit_code))
/external/chromium-trace/catapult/common/bin/
H A Drun_tests17 exit_code = run_with_typ.Run(top_level_dir, path=[_PY_UTILS_PATH])
18 if exit_code:
19 sys.exit(exit_code)
/external/autotest/client/bin/
H A Dautotestd_monitor45 exit_code_file = open(os.path.join(logdir, 'exit_code'))
49 exit_code = exit_code_file.read() variable
50 if len(exit_code) != 4:
51 exit_code = -signal.SIGKILL # autotestd was nuked variable
53 exit_code = int(exit_code) variable
69 sys.exit(exit_code)
H A Dautotest_client25 exit_code = subprocess.call(cmd, shell=True, stderr=subprocess.STDOUT, variable
27 sys.exit(exit_code) # pass on the exit status from autotest
/external/libchrome/sandbox/linux/services/
H A Dscoped_process_unittest.cc32 void ExitWithCode(int exit_code) { _exit(exit_code); } argument
43 int exit_code = process.WaitForExit(&got_signaled); local
45 EXPECT_EQ(kCustomExitCode, exit_code);
60 int exit_code = process.WaitForExit(&got_signaled); local
62 EXPECT_EQ(SIGABRT, exit_code);
69 int exit_code = process.WaitForExit(&got_signaled); local
71 EXPECT_EQ(SIGKILL, exit_code);
/external/chromium-trace/catapult/catapult_build/
H A Dtest_runner.py46 exit_code = 0
51 exit_code |= new_exit_code
55 if exit_code:
61 sys.exit(exit_code)
/external/vboot_reference/tests/
H A Dtest_using_qemu.sh32 exit_code=$?
40 exit $exit_code

Completed in 699 milliseconds

12345678