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

/gem5/ext/googletest/googlemock/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)
H A Dgmock_stress_test.cc317 const int exit_code = RUN_ALL_TESTS(); // Expected to fail. local
318 GTEST_CHECK_(exit_code != 0) << "RUN_ALL_TESTS() did not fail as expected";
/gem5/src/sim/
H A Dsim_exit.hh50 /// and exit_code parameters are saved in the SimLoopExitEvent to
52 void exitSimLoop(const std::string &message, int exit_code = 0,
57 void exitSimLoopNow(const std::string &message, int exit_code = 0,
H A Dsim_events.cc90 exitSimLoop(const std::string &message, int exit_code, Tick when, Tick repeat, argument
97 new GlobalSimLoopExitEvent(when + simQuantum, message, exit_code, repeat);
101 exitSimLoopNow(const std::string &message, int exit_code, Tick repeat, argument
104 new GlobalSimLoopExitEvent(message, exit_code, repeat);
/gem5/ext/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc112 const int exit_code = RUN_ALL_TESTS(); local
126 return exit_code;
H A Dgtest_help_test.py95 return child.exit_code, child.output
111 exit_code, output = RunWithFlag(flag)
112 self.assertEquals(0, exit_code)
135 exit_code, output = RunWithFlag(flag)
136 self.assert_(exit_code != 0)
H A Dgtest_uninitialized_test.py60 AssertEq(1, p.exit_code)
H A Dgtest_test_utils.py187 def GetExitStatus(exit_code):
191 exit_code: the result value of os.system(command).
197 return exit_code
201 if os.WIFEXITED(exit_code):
202 return os.WEXITSTATUS(exit_code)
227 exit_code The code with which the child process exited.
303 self.exit_code = self._return_code
H A Dgtest_xml_output_unittest.py221 self.assertEquals(0, p.exit_code)
246 self.assertEquals(1, p.exit_code,
249 % (command, p.exit_code, 1))
280 self.assertEquals(expected_exit_code, p.exit_code,
283 % (command, p.exit_code, expected_exit_code))
H A Dgtest_color_test.py67 return not p.exited or p.exit_code
H A Dgtest_throw_on_failure_test.py75 return p.exited and p.exit_code == 0
H A Dgtest_xml_outfiles_test.py104 self.assertEquals(0, p.exit_code)
H A Dgtest_filter_unittest.py204 return (tests_run, p.exit_code)
319 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
321 self.assertEqual(0, exit_code)
H A Dgtest-death-test_test.cc229 static int NormalExitStatus(int exit_code) { argument
232 _exit(exit_code);
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-death-test.h94 // bool KilledBySIGHUP(int exit_code) {
95 // return WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGHUP;
192 explicit ExitedWithCode(int exit_code);
/gem5/ext/googletest/googletest/src/
H A Dgtest-death-test.cc152 ExitedWithCode::ExitedWithCode(int exit_code) : exit_code_(exit_code) { argument
193 static std::string ExitSummary(int exit_code) { argument
198 m << "Exited with exit status " << exit_code; local
202 if (WIFEXITED(exit_code)) {
203 m << "Exited with exit status " << WEXITSTATUS(exit_code);
204 } else if (WIFSIGNALED(exit_code)) {
205 m << "Terminated by signal " << WTERMSIG(exit_code);
208 if (WCOREDUMP(exit_code)) {

Completed in 20 milliseconds