From 2d12e6088e92a39e10ffd1faad0bdc7a88401750 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 6 Dec 2023 19:57:06 +0200 Subject: 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 Reviewed-by: Kieran Bingham --- test/log/log_process.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/log/log_process.cpp b/test/log/log_process.cpp index f7635b70..fb6635cc 100644 --- a/test/log/log_process.cpp +++ b/test/log/log_process.cpp @@ -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; } -- cgit v1.2.1