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