Searched refs:wstatus (Results 1 – 7 of 7) sorted by relevance
65 static std::string WaitStatusToString(int wstatus) { in WaitStatusToString() argument66 if (WIFEXITED(wstatus)) { in WaitStatusToString()67 return "exit status " + std::to_string(WEXITSTATUS(wstatus)); in WaitStatusToString()69 if (WIFSIGNALED(wstatus)) { in WaitStatusToString()70 return "term signal " + std::to_string(WTERMSIG(wstatus)); in WaitStatusToString()72 return "unexpected state " + std::to_string(wstatus); in WaitStatusToString()107 int wstatus; in ~Process() local108 waitpid(mPid, &wstatus, 0); in ~Process()110 mCustomExitStatusCheck(wstatus); in ~Process()112 EXPECT_TRUE(WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) in ~Process()[all …]
36 void setCustomExitStatusCheck(std::function<void(int wstatus)> /*f*/) override { in setCustomExitStatusCheck() argument
47 virtual void setCustomExitStatusCheck(std::function<void(int wstatus)> f) = 0;
107 int wstatus; in TearDown() local108 wait(&wstatus); in TearDown()
105 int wstatus; in TearDown() local106 wait(&wstatus); in TearDown()
108 int wstatus; in TearDown() local109 wait(&wstatus); in TearDown()
139 int wstatus; in TearDown() local140 wait(&wstatus); in TearDown()