From 21c8c5a900903db2d37110ca42117982ce484422 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 13 Feb 2019 22:19:34 -0600 Subject: [PATCH] user32/tests: Execute test_shell_window() last. Cf. also d83fc43e5e0155d1d00e54425c2af0a14dd2d40b. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/user32/tests/win.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index e55c1399a50..385432575eb 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -10905,7 +10905,6 @@ START_TEST(win) test_layered_window(); test_SetForegroundWindow(hwndMain); - test_shell_window(); test_handles( hwndMain ); test_winregion(); test_map_points(); @@ -10935,4 +10934,8 @@ START_TEST(win) * state of hwndMain and hwndMain2 windows. */ test_topmost(); + + /* Execute the SetShellWindow() test last, since it kills explorer and that + * breaks a lot of things. */ + test_shell_window(); }