Commit 23b082ed authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

kernel32/tests: Don't let debugger tests fail on a 64bit only config.

parent 40b7c3e8
......@@ -1001,6 +1001,17 @@ static void test_debug_loop(int argc, char **argv)
win_skip("CheckRemoteDebuggerPresent not available, skipping test.\n");
return;
}
if (sizeof(void *) > sizeof(int))
{
WCHAR buffer[MAX_PATH];
GetSystemWow64DirectoryW( buffer, MAX_PATH );
wcscat( buffer, L"\\oleacc.dll" );
if (GetFileAttributesW( buffer ) == INVALID_FILE_ATTRIBUTES)
{
skip("Skipping test on 64bit only configuration\n");
return;
}
}
pid = GetCurrentProcessId();
ret = DebugActiveProcess(pid);
......
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