mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
gameux/tests: Run the MTA tests before the STA tests to avoid a crash on Windows 10.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8ce48b9fcd
commit
bc84397e30
@ -673,16 +673,16 @@ START_TEST(gameexplorer)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||
hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
ok(hr == S_OK, "Failed to initialize COM, hr %#x.\n", hr);
|
||||
trace("Running apartment threaded tests.\n");
|
||||
trace("Running multithreaded tests.\n");
|
||||
run_tests();
|
||||
if(SUCCEEDED(hr))
|
||||
CoUninitialize();
|
||||
|
||||
hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||
ok(hr == S_OK, "Failed to initialize COM, hr %#x.\n", hr);
|
||||
trace("Running multithreaded tests.\n");
|
||||
trace("Running apartment threaded tests.\n");
|
||||
run_tests();
|
||||
if(SUCCEEDED(hr))
|
||||
CoUninitialize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user