Commit 4d505906 authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

kernel32/tests: Fix atom tests on Win7.

parent 8bb68933
...@@ -3,7 +3,7 @@ TOPOBJDIR = ../../.. ...@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
TESTDLL = kernel32.dll TESTDLL = kernel32.dll
IMPORTS = advapi32 kernel32 IMPORTS = user32 advapi32 kernel32
CTESTS = \ CTESTS = \
actctx.c \ actctx.c \
......
...@@ -619,6 +619,10 @@ static void test_local_error_handling(void) ...@@ -619,6 +619,10 @@ static void test_local_error_handling(void)
START_TEST(atom) START_TEST(atom)
{ {
/* Global atom table seems to be available to GUI apps only in
Win7, so let's turn this app into a GUI app */
GetDesktopWindow();
test_add_atom(); test_add_atom();
test_get_atom_name(); test_get_atom_name();
test_error_handling(); test_error_handling();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment