gameux/tests: Run the MTA tests before the STA tests to avoid a crash on Windows 10.
Huw Davies
huw at codeweavers.com
Wed Feb 1 07:19:10 CST 2017
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/gameux/tests/gameexplorer.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/gameux/tests/gameexplorer.c b/dlls/gameux/tests/gameexplorer.c
index 1f25f71..1ef7a78 100644
--- a/dlls/gameux/tests/gameexplorer.c
+++ b/dlls/gameux/tests/gameexplorer.c
@@ -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();
--
2.10.2
More information about the wine-patches
mailing list