mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests/test-driver: Print the shader model for the detailed output of the hlsl backend.
This commit is contained in:
committed by
Henri Verbeet
parent
3aecbc5ac1
commit
72b603780c
Notes:
Henri Verbeet
2025-02-19 18:02:19 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1369
@@ -161,20 +161,27 @@ BEGIN {
|
|||||||
printf("# %-20s\n", str)
|
printf("# %-20s\n", str)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function print_entry(line, model, tag) {
|
||||||
|
if ($5 ~ " Model [^[:space:]]+")
|
||||||
|
print "<fade>" $4 "+" substr($5, 8) "<reset>" tag
|
||||||
|
else
|
||||||
|
print "<fade>" $4 "<reset>" tag
|
||||||
|
}
|
||||||
|
|
||||||
/: Test failed:/ {
|
/: Test failed:/ {
|
||||||
print "<fade>" $4 "<reset>" "[F]"
|
print_entry($4, $5, "[F]")
|
||||||
}
|
}
|
||||||
|
|
||||||
/: Todo:/ {
|
/: Todo:/ {
|
||||||
print "<fade>" $4 "<reset>" "[XF]"
|
print_entry($4, $5, "[XF]")
|
||||||
}
|
}
|
||||||
|
|
||||||
/: Todo succeeded:/ {
|
/: Todo succeeded:/ {
|
||||||
print "<fade>" $4 "<reset>" "[XP]"
|
print_entry($4, $5, "[XP]")
|
||||||
}
|
}
|
||||||
|
|
||||||
/: Test skipped:/ {
|
/: Test skipped:/ {
|
||||||
print "<fade>" $4 "<reset>" "[SK]"
|
print_entry($4, $5, "[SK]")
|
||||||
}
|
}
|
||||||
|
|
||||||
/: Assertion .* failed\./ {
|
/: Assertion .* failed\./ {
|
||||||
|
Reference in New Issue
Block a user