test: log: log_process: Improve debugging on process exit failures
When the process fails to run and exit normally, the test prints an error message that provides little information: process did not exit normally Expand the error message to print the exit status to make debugging easier. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
db31477433
commit
2d12e6088e
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ protected:
|
|||
dispatcher->processEvents();
|
||||
|
||||
if (exitStatus_ != Process::NormalExit) {
|
||||
cerr << "process did not exit normally" << endl;
|
||||
cerr << "process did not exit normally: " << exitStatus_
|
||||
<< endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue