mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
ci/vkd3d: fix test failure list when no test failed
This becomes important once the bugfix in the next commit is applied. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34639>
This commit is contained in:
parent
d21e300f33
commit
0f8fd5da7a
1 changed files with 6 additions and 1 deletions
|
|
@ -109,7 +109,12 @@ if [ ${#flakes_seen[@]} -gt 0 ]; then
|
|||
fi
|
||||
|
||||
# Collect all the failures
|
||||
mapfile -t fails < <(grep -oE "^FAILED .+$" "$LOGFILE" | cut -d' ' -f2 | sort)
|
||||
fails_lines=$(grep -oE "^FAILED .+$" "$LOGFILE" | cut -d' ' -f2 | sort)
|
||||
if [ -n "$fails_lines" ]; then
|
||||
mapfile -t fails < <(echo "$fails_lines")
|
||||
else
|
||||
fails=()
|
||||
fi
|
||||
|
||||
# Save test output for failed tests (before excluding flakes)
|
||||
for failed_test in "${fails[@]}"; do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue