tests: Rename VKD3D_TESTS_SKIP_DXC to VKD3D_TEST_SKIP_DXC.

For consistency with the other VKD3D_TEST_* environment variables.
This commit is contained in:
Henri Verbeet 2024-05-27 20:13:53 +02:00 committed by Alexandre Julliard
parent 695ef722e8
commit 9693271dcf
Notes: Alexandre Julliard 2024-05-27 23:24:00 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/891
3 changed files with 6 additions and 3 deletions

3
README
View File

@ -86,6 +86,9 @@ commas or semicolons.
platform controls the behavior of todo(), todo_if(), bug_if() and broken()
conditions in tests.
* VKD3D_TEST_SKIP_DXC - when set, tests requiring the dxcompiler library will
be skipped.
* VKD3D_TEST_BUG - set to 0 to disable bug_if() conditions in tests.
If the configuration defines 'DXCOMPILER_LIBS=-L/path/to/dxcompiler', Shader

View File

@ -19,13 +19,13 @@ test-win-64:
extends: .test-win
variables:
TEST_ARCH: "64"
VKD3D_TESTS_SKIP_DXC: "1"
VKD3D_TEST_SKIP_DXC: "1"
test-win-32:
extends: .test-win
variables:
TEST_ARCH: "32"
VKD3D_TESTS_SKIP_DXC: "1"
VKD3D_TEST_SKIP_DXC: "1"
test-win-64-dxc:
stage: test

View File

@ -2158,7 +2158,7 @@ static IDxcCompiler3 *dxcompiler_create(void)
HRESULT hr;
void *dll;
if ((skip_dxc = getenv("VKD3D_TESTS_SKIP_DXC")) && strcmp(skip_dxc, "") != 0)
if ((skip_dxc = getenv("VKD3D_TEST_SKIP_DXC")) && strcmp(skip_dxc, "") != 0)
return NULL;
#ifdef VKD3D_CROSSTEST