mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
ci/vkd3d: fix "unexpected results" check
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36504>
This commit is contained in:
parent
8eae9f337c
commit
5fd71adbd1
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ for expected_fail_line in "${expected_fail_lines[@]}"; do
|
||||||
printf '%s,%s\n' "$test_name" "$test_status"
|
printf '%s,%s\n' "$test_name" "$test_status"
|
||||||
done >> "$RESULTSFILE"
|
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
|
if [ ${#unexpected_results[@]} -gt 0 ]; then
|
||||||
printf >&2 '\nUnexpected results:\n'
|
printf >&2 '\nUnexpected results:\n'
|
||||||
printf >&2 ' %s\n' "${unexpected_results[@]}"
|
printf >&2 ' %s\n' "${unexpected_results[@]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue