[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] CI: list failed tests at the end of tools job



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 <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
---
 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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.