Commit Graph

38 Commits

Author SHA1 Message Date
Sebastian Lackner 4e0edaac1f kernel32/tests: Use inline implementation of NtCurrentTeb for debugger tests.
Also enable BeingDebugged PEB tests on x86_64.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:13:15 +09:00
Francois Gouget f6dc7c88ba kernel32/tests: Help the tests portably declare printf()-syle functions.
To do so they can now use the WINETEST_PRINTF_ATTR() macro.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:46:33 +09:00
Charles Davis 3eb8e325b8 kernel32/tests: Use a volatile pointer to cause a crash in the debugger tests. (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
2015-10-07 21:28:55 +09:00
Sebastian Lackner e5e4ef07b6 kernel32/tests: Add missing HeapFree() in doChildren(). (Valgrind). 2014-06-23 10:12:18 +02:00
Piotr Caban 4fca169301 server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess. 2014-04-09 13:15:58 +02:00
Dmitry Timoshkov 79ac1fa33f kernel32/tests: Fix debugger tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Piotr Caban 23191a4355 server: Don't debug children when debugger is attached with DebugActiveProcess function. 2013-04-05 20:39:07 +02:00
Detlef Riekenberg 9aacf4ce6f kernel32/tests: Fix test failures on win7. 2012-08-13 12:08:11 +02:00
Austin English e2cbe25ba7 kernel32/tests: Remove win9x hacks. 2011-08-22 17:21:23 +02:00
Eric Pouech 1980545055 kernel32: When testing the debugger activation, don't use unitialized values (clang). 2011-03-28 17:24:45 +02:00
André Hentschel 85386c2c6e kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-01-12 14:59:43 +01:00
Greg Geldorp f284719c96 kernel32/tests: Skip some debugger tests on 64-bit. 2010-12-30 16:49:00 +01:00
Greg Geldorp a4a73c20af kernel32/tests: Quote command line arguments that might contain spaces. 2010-12-21 16:55:50 +01:00
Alexandre Julliard e2c48c5952 tests: Try to avoid message boxes popping up in non-interactive testing. 2010-07-20 11:39:50 +02:00
Austin English e0c7fb66c4 kernel32/tests: Use ret in load_blackbox(). 2010-05-24 12:53:09 +02:00
Paul Vriens b120836bd2 kernel32/tests: Run tests again on Win95. 2010-03-16 17:03:23 +01:00
Henri Verbeet ef058b3030 kernel32: Implement CheckRemoteDebuggerPresent(). 2010-03-15 15:56:56 +01:00
Henri Verbeet 6c0ecd0955 server: Debugging our own process is disallowed. 2010-03-15 15:55:08 +01:00
Henri Verbeet 1970fb35d4 server: Allow the debugger to be debugged. 2010-03-05 13:21:22 +01:00
Paul Vriens 6fd641aa05 kernel32/tests: Skip a test on Win9x/WinMe. 2010-01-18 14:39:11 +01:00
Paul Vriens cde8673339 kernel32/tests: Fix an intermittent test failure on Vista+. 2009-10-23 12:02:54 +02:00
Stefan Leichter 2c576e88b4 kernel32: Check parameter of CheckRemoteDebuggerPresent with tests. 2009-09-28 12:37:28 +02:00
Paul Vriens b3e4155a41 kernel32/tests: Fix a test failure on Win9x/WinMe. 2009-06-05 14:43:24 +02:00
Mikołaj Zalewski 1e256e426d winedbg: Add a crash dialog for --auto mode. 2009-04-22 17:00:34 +02:00
Marcus Meissner e1d9a793be kernel32: Initialize events correctly. 2009-01-27 11:09:24 +01:00
Ge van Geldorp ee3a743e6c kernel32/tests: "none" debugger test needs user interaction. 2009-01-26 16:08:30 +01:00
Alexandre Julliard bb7de132dd kernel32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:20:14 +01:00
Kai Blin a30724304c kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity). 2008-12-01 14:26:02 +01:00
Paul Vriens 0d88bf89dc kernel32/tests: Show the setting of the debugger registry value. 2008-08-05 14:09:37 +02:00
Dan Kegel 98fba5e56a kernel32/tests: Initialize a few variables. 2008-06-23 12:46:20 +02:00
James Hawkins 362f2ceeaf kernel32: Fix a debugger test that fails in win2k3. 2008-05-19 16:11:05 +02:00
Francois Gouget 9dc6f6cf54 kernel32/tests: Add tests for DebugActiveProcessStop() and DebugSetProcessKillOnExit(). 2007-08-31 12:08:58 +02:00
Francois Gouget b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Francois Gouget 9271fcc86d winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code. 2007-08-31 12:08:58 +02:00
Francois Gouget 1f0fb354f5 kernel32/tests: Don't call ok() in child processes. 2007-08-30 12:25:55 +02:00
Francois Gouget a86c035d7f kernel32/tests: If the registry happens to be set up right, check that winedbg does not mess up the crashed process exit code (unfortunately it does). 2007-08-30 12:25:52 +02:00
Francois Gouget d18cf0c4f1 kernel32/tests: Remove a redundant RegSetValueExA() call. 2007-08-16 11:09:31 +02:00
Francois Gouget 6493c30c90 kernel32/tests: Test the debugger startup and crashed processes exit code. 2007-08-10 12:58:17 +02:00