mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
tests: Introduce VKD3D_TEST_DETAILED for the test driver.
Useful to know which tests on which backends were skipped.
This commit is contained in:
parent
9dec7403d9
commit
51abec8c99
Notes:
Henri Verbeet
2024-08-07 16:01:36 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/987
4
README
4
README
@ -78,6 +78,10 @@ commas or semicolons.
|
||||
* VKD3D_TEST_DEBUG - enables additional debug messages in tests. Set to 0, 1
|
||||
or 2.
|
||||
|
||||
* VKD3D_TEST_DETAILED - enables printing detailed output when running the test
|
||||
suite, reporting specific shader_test lines that trigger XFAIL and SKIP even
|
||||
on tests that overall PASS. Set to 0, or 1.
|
||||
|
||||
* VKD3D_TEST_FILTER - a filter string. Only the tests whose names matches the
|
||||
filter string will be run, e.g. VKD3D_TEST_FILTER=clear_render_target.
|
||||
Useful for debugging or developing new tests.
|
||||
|
@ -219,8 +219,11 @@ details=$(echo "$details" |\
|
||||
tr '#' '\n' |\
|
||||
awk 'NF != 1' )
|
||||
|
||||
# Set VKD3D_TEST_DETAILED to 0 if unset.
|
||||
VKD3D_TEST_DETAILED=${VKD3D_TEST_DETAILED:-0}
|
||||
|
||||
# If the test passes, we will omit details but report number of [XF] and [SK]
|
||||
if [ "$res" = "PASS" ]; then
|
||||
if [ "$res" = "PASS" ] && [ "$VKD3D_TEST_DETAILED" != "1" ]; then
|
||||
details=""
|
||||
if [ "$xfcount" -gt 0 ]; then
|
||||
details="$details $color_yellow($xfcount XF)$color_reset"
|
||||
|
Loading…
Reference in New Issue
Block a user