ci/vkd3d: fix "unexpected results" check
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36504>
This commit is contained in:
committed by
Marge Bot
parent
8eae9f337c
commit
5fd71adbd1
@@ -167,7 +167,7 @@ for expected_fail_line in "${expected_fail_lines[@]}"; do
|
||||
printf '%s,%s\n' "$test_name" "$test_status"
|
||||
done >> "$RESULTSFILE"
|
||||
|
||||
mapfile -t unexpected_results < <(comm -23 "$RESULTSFILE" "$EXPECTATIONFILE")
|
||||
mapfile -t unexpected_results < <(comm -23 <(sort "$RESULTSFILE") <(sort "$EXPECTATIONFILE"))
|
||||
if [ ${#unexpected_results[@]} -gt 0 ]; then
|
||||
printf >&2 '\nUnexpected results:\n'
|
||||
printf >&2 ' %s\n' "${unexpected_results[@]}"
|
||||
|
||||
Reference in New Issue
Block a user