Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/gn/src/gn/
Dexec_process_unittest.cc27 int* exit_code) { in ExecPython() argument
41 std_err, exit_code); in ExecPython()
47 int exit_code; in TEST() local
50 ExecPython("import sys; sys.exit(0)", &std_out, &std_err, &exit_code)); in TEST()
51 EXPECT_EQ(0, exit_code); in TEST()
54 ExecPython("import sys; sys.exit(1)", &std_out, &std_err, &exit_code)); in TEST()
55 EXPECT_EQ(1, exit_code); in TEST()
58 ExecPython("import sys; sys.exit(253)", &std_out, &std_err, &exit_code)); in TEST()
59 EXPECT_EQ(253, exit_code); in TEST()
61 ASSERT_TRUE(ExecPython("throw Exception()", &std_out, &std_err, &exit_code)); in TEST()
[all …]
Dexec_process.cc41 int* exit_code) { in ExecProcess() argument
43 std_err, exit_code); in ExecProcess()
50 int* exit_code) { in ExecProcess() argument
137 *exit_code = static_cast<int>(dw_exit_code); in ExecProcess()
157 bool WaitForExit(int pid, int* exit_code) {
165 *exit_code = WEXITSTATUS(status);
179 int* exit_code) {
180 *exit_code = EXIT_FAILURE;
282 return WaitForExit(pid, exit_code);
/third_party/icu/tools/scripts/
Duconfig_vars_test.py106 conf_log, exit_code = RunCmd(
108 if exit_code != 0:
113 run_log, exit_code = RunCmd('make -j2 check')
114 test_results[uconfig_no]['unit_test'] = (exit_code == 0)
122 conf_log, exit_code = RunCmd(
124 if exit_code != 0:
129 run_log, exit_code = RunCmd('make -j2 check')
130 test_results['all_flags']['unit_test'] = (exit_code == 0)
150 conf_log, exit_code = RunCmd('./runConfigureICU Linux --prefix=/tmp/icu_cnfg')
151 if exit_code != 0:
[all …]
/third_party/node/deps/v8/tools/testrunner/objects/
Doutput.py37 def __init__(self, exit_code=0, timed_out=False, stdout=None, stderr=None, argument
39 self.exit_code = exit_code
55 return 0x80000000 & self.exit_code and not (0x3FFFFF00 & self.exit_code)
60 return (self.exit_code < 0 and
61 self.exit_code != -signal.SIGABRT)
71 return "%d [%02X]" % (self.exit_code, self.exit_code & 0xffffffff)
/third_party/ltp/testcases/kernel/security/cap_bound/
Drun_capbounds.sh23 exit_code=0
28 exit_code=$tmp
35 exit_code=$tmp
42 exit_code=$tmp
48 exit_code=$tmp;
53 exit_code=$tmp;
56 exit $exit_code
/third_party/googletest/googlemock/test/
Dgmock_leak_test.py58 env=environ).exit_code)
62 env=environ).exit_code)
69 env=environ).exit_code)
74 env=environ).exit_code)
81 env=environ).exit_code)
86 env=environ).exit_code)
93 env=environ).exit_code)
100 env=environ).exit_code)
Dgmock_test_utils.py60 def GetExitStatus(exit_code): argument
70 return exit_code
74 if os.WIFEXITED(exit_code):
75 return os.WEXITSTATUS(exit_code)
/third_party/node/tools/
Dv8-json-to-junit.py39 def IsExitCodeCrashing(exit_code): argument
41 return 0x80000000 & exit_code and not (0x3FFFFF00 & exit_code)
42 return exit_code < 0 and exit_code != -signal.SIGABRT
99 exit_code = failing_test["exit_code"]
102 elif IsExitCodeCrashing(exit_code):
103 failing_output.append("exit code: " + str(exit_code))
/third_party/googletest/googletest/test/
Dgtest_help_test.py97 return child.exit_code, child.output
113 exit_code, output = RunWithFlag(flag)
117 self.assertEqual(1, exit_code)
119 self.assertEqual(0, exit_code)
142 exit_code, output = RunWithFlag(flag)
143 self.assertEqual(1, exit_code)
156 exit_code, output = RunWithFlag(flag)
157 self.assertNotEqual(exit_code, 0)
Dgtest_test_utils.py176 def GetExitStatus(exit_code): argument
186 return exit_code
190 if os.WIFEXITED(exit_code):
191 return os.WEXITSTATUS(exit_code)
240 self.exit_code = self._return_code
/third_party/ltp/testcases/kernel/security/filecaps/
Dfilecapstest.sh30 exit_code=0
35 exit_code=$tmp
42 exit_code=$tmp
49 exit_code=$tmp
53 exit $exit_code
/third_party/node/src/
Dnode_main_instance.cc116 int exit_code = 0; in Run() local
118 CreateMainEnvironment(&exit_code); in Run()
122 Run(&exit_code, env.get()); in Run()
123 return exit_code; in Run()
126 void NodeMainInstance::Run(int* exit_code, Environment* env) { in Run() argument
127 if (*exit_code == 0) { in Run()
130 *exit_code = SpinEventLoop(env).FromMaybe(1); in Run()
139 NodeMainInstance::CreateMainEnvironment(int* exit_code) { in CreateMainEnvironment() argument
140 *exit_code = 0; // Reset the exit code to 0 in CreateMainEnvironment()
Dnode.cc847 const int exit_code = ProcessGlobalArgs(&env_argv, in InitializeNodeWithArgs() local
851 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs()
857 const int exit_code = ProcessGlobalArgs(argv, in InitializeNodeWithArgs() local
861 if (exit_code != 0) return exit_code; in InitializeNodeWithArgs()
937 if (result->exit_code() != 0) { in InitializeOncePerProcess()
1135 int exit_code = result->exit_code(); in GenerateAndWriteSnapshotData() local
1149 exit_code = 1; in GenerateAndWriteSnapshotData()
1150 return exit_code; in GenerateAndWriteSnapshotData()
1156 exit_code = node::SnapshotBuilder::Generate( in GenerateAndWriteSnapshotData()
1158 if (exit_code == 0) { in GenerateAndWriteSnapshotData()
[all …]
/third_party/mbedtls/programs/test/
Dzeroize.c49 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local
59 mbedtls_exit(exit_code); in main()
65 mbedtls_exit(exit_code); in main()
75 exit_code = MBEDTLS_EXIT_SUCCESS; in main()
83 mbedtls_exit(exit_code); // GDB_BREAK_HERE -- don't remove this comment! in main()
/third_party/node/tools/snapshot/
Dnode_mksnapshot.cc72 CHECK_EQ(result->exit_code(), 0);
87 int exit_code = 0; local
89 exit_code = node::SnapshotBuilder::Generate(
91 if (exit_code == 0) {
94 exit_code = 1;
100 return exit_code;
/third_party/mbedtls/programs/random/
Dgen_entropy.c43 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local
49 mbedtls_exit(exit_code); in main()
54 mbedtls_exit(exit_code); in main()
77 exit_code = MBEDTLS_EXIT_SUCCESS; in main()
85 mbedtls_exit(exit_code); in main()
Dgen_random_ctr_drbg.c46 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local
55 mbedtls_exit(exit_code); in main()
60 mbedtls_exit(exit_code); in main()
108 exit_code = MBEDTLS_EXIT_SUCCESS; in main()
117 mbedtls_exit(exit_code); in main()
/third_party/node/deps/v8/tools/
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
/third_party/ltp/testcases/kernel/containers/utsname/
Drunutstests_noltp.sh23 exit_code=0
29 exit_code=$?
37 exit_code=$?
41 exit $exit_code
/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslog-lib.sh40 exit_code=$1
49 if [ $exit_code -ne $? ]; then
50 exit_code=1
53 exit_code=1
57 exit $exit_code
/third_party/googletest/googletest/scripts/
Drun_with_path.py21 exit_code = subprocess.Popen(sys.argv[1:]).wait()
26 if exit_code < 0:
27 exit_code = 100
29 sys.exit(exit_code)
/third_party/node/deps/v8/tools/jsfunfuzz/
Dfuzz-harness.sh86 exit_code=$(cat w* | grep " looking good" -c)
87 exit_code=$((100-exit_code))
98 echo "Total failures: $exit_code"
99 exit $exit_code
/third_party/mbedtls/programs/hash/
Dgeneric_sum.c166 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local
186 mbedtls_exit(exit_code); in main()
195 mbedtls_exit(exit_code); in main()
199 mbedtls_exit(exit_code); in main()
213 exit_code = MBEDTLS_EXIT_SUCCESS; in main()
219 mbedtls_exit(exit_code); in main()
/third_party/mbedtls/programs/pkey/
Dpk_verify.c48 int exit_code = MBEDTLS_EXIT_FAILURE; in main() local
112 exit_code = MBEDTLS_EXIT_SUCCESS; in main()
118 if (exit_code != MBEDTLS_EXIT_SUCCESS) { in main()
124 mbedtls_exit(exit_code); in main()
/third_party/ltp/testcases/kernel/containers/sysvipc/
Drunipctests_noltp.sh22 exit_code=0
28 exit_code=$?
31 exit $exit_code

1234567