Currently, if any unit test fails, the final line says only result of
the last test - one need to scroll through the whole log to find which
test failed (or whether was it some infra issue).
Do the simple thing for now and repeate the failed tests list and the
end.

Signed-off-by: Marek Marczykowski-Górecki <marma...@invisiblethingslab.com>
---
 automation/scripts/run-tools-tests | 1 +
 1 file changed, 1 insertion(+)

diff --git a/automation/scripts/run-tools-tests 
b/automation/scripts/run-tools-tests
index 15766ca0f0ab..86f305c4c322 100755
--- a/automation/scripts/run-tools-tests
+++ b/automation/scripts/run-tools-tests
@@ -42,5 +42,6 @@ printf ' </testsuite>\n' >> "$xml_out"
 printf '</testsuites>\n' >> "$xml_out"
 
 if [ -n "$failed" ]; then
+    echo "FAILED tests: $failed"
     exit 1
 fi
-- 
2.49.0


Reply via email to