Module: wine Branch: master Commit: bc84397e30d19b766d1be72f05fbcf86053fbbaa URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc84397e30d19b766d1be72f05...
Author: Huw Davies huw@codeweavers.com Date: Wed Feb 1 13:19:10 2017 +0000
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
---
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();