Browse Source

Tests: PityTest - report exit status

LIB-11
heck 4 years ago
parent
commit
f2d1e6215a
  1. 8
      test/pitytest11/src/PityUnit.hxx

8
test/pitytest11/src/PityUnit.hxx

@ -376,9 +376,10 @@ namespace pEp {
int status; int status;
pid_t pid; pid_t pid;
while ((pid = wait(&status)) > 0) { while ((pid = wait(&status)) > 0) {
pEpLogClass( logH3(
"process[" + std::to_string((int)pid) + "\033[1m\033[31mPROCESS [ " + std::to_string((int)pid) +
"] terminated with status: " + std::to_string(status)); " ] EXITED with status code: " + std::to_string(status) +
Utils::to_termcol(_termColor()));
} }
} }
@ -542,4 +543,5 @@ namespace pEp {
} // namespace PityTest11 } // namespace PityTest11
} // namespace pEp } // namespace pEp
#endif // PITYTEST_PITYUNIT_HXX #endif // PITYTEST_PITYUNIT_HXX
Loading…
Cancel
Save