From bc84397e30d19b766d1be72f05fbcf86053fbbaa Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 1 Feb 2017 13:19:10 +0000 Subject: [PATCH] gameux/tests: Run the MTA tests before the STA tests to avoid a crash on Windows 10. Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 1f25f71a541..1ef7a780dea 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();