tests: Check for failure from init_test_context() in the d3d11 runner.

This commit is contained in:
Zebediah Figura 2022-04-22 13:56:30 -05:00 committed by Alexandre Julliard
parent 53d6966a5d
commit b7c94b0213
Notes: Alexandre Julliard 2022-10-18 00:13:00 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/13

View File

@ -627,10 +627,12 @@ void run_shader_tests_d3d11(int argc, char **argv)
parse_args(argc, argv);
enable_d3d11_debug_layer(argc, argv);
init_adapter_info();
init_test_context(&runner);
if (init_test_context(&runner))
{
run_shader_tests(&runner.r, argc, argv, &d3d11_runner_ops);
destroy_test_context(&runner);
}
}
FreeLibrary(d3d11_module);
FreeLibrary(dxgi_module);
}