Skip to content
Snippets Groups Projects
Commit b7c94b02 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

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

parent 53d6966a
No related branches found
No related tags found
1 merge request!13tests: Various fixes.
Pipeline #2239 skipped
......@@ -627,9 +627,11 @@ 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);
run_shader_tests(&runner.r, argc, argv, &d3d11_runner_ops);
destroy_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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment