CI: list failed tests at the end of tools job
PATCH 1/1 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 <[email protected]>
--- automation/scripts/run-tools-tests | 1 + 1 file changed, 1 insertion(+)
automation/scripts/run-tools-tests +1 -0
@@ -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
Signature · 1 line
2.49.0
Quoted 7 lines · Marek Marczykowski-Górecki
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 <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>