Commit Graph

56 Commits

Author SHA1 Message Date
Akihiro Sagawa 844ae22fcf kernel32: Return the list of module handles even if the last argument is null.
Touhou Shinpiroku relies on this behaviour.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 19:46:19 +01:00
Akihiro Sagawa 97ad2b8b39 psapi/tests: Add more EnumProcessModules tests.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-11 19:10:59 +01:00
Alex Henrie 4f5342f26b psapi/tests: Increase GetPerformanceInfo error margins for Windows 8.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Alex Henrie cf1bbad714 psapi/tests: Increase GetPerformanceInfo error margins for Windows 10.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 09:44:52 +02:00
Sebastian Lackner e39d1614a9 psapi/tests: Remove todo_wine from succeeding tests.
These were missed in 19a79f4228.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 11:01:47 -05:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
André Hentschel 4d98658621 psapi/tests: Also accept strlen as return value.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:30 +09:00
André Hentschel c789554786 psapi/tests: Adjust margin for win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:27 +09:00
André Hentschel 9182d5b541 psapi/tests: Remove bad test.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:23 +09:00
André Hentschel d33984e6ba psapi/tests: Disable tests which crash on win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 19:32:16 +09:00
André Hentschel a3ab34b419 psapi/tests: Don't check for exact value.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-09-25 21:00:11 +02:00
Olivier F. R. Dierick 9effcc98f9 psapi/tests: Add test for EnumProcessModules with NULL pointer. 2015-07-06 17:09:49 +09:00
Sebastian Lackner 4032eef90f kernel32: Fix implementation of K32GetPerformanceInfo. 2014-11-14 17:11:38 +09:00
Sebastian Lackner 4297046d01 psapi/tests: Add tests for GetPerformanceInfo function. 2014-11-14 17:10:57 +09:00
Bruno Jesus 78eac8156e psapi/tests: Free buffer on error (valgrind). 2014-07-14 17:22:46 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
André Hentschel 3df00e29ee psapi/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-25 13:36:01 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard ab2eb34a82 psapi/tests: Define the required Windows version before including anything. 2013-02-20 13:17:12 +01:00
André Hentschel cd465edb00 psapi/tests: Fix test on win8. 2012-12-04 00:03:39 +01:00
Stefan Leichter 0773ed8d27 psapi/tests: Added tests for EnumProcessModules with last parameter NULL. 2012-06-22 14:09:51 +02:00
Alexandre Julliard d08f34cd8e kernel32: Fix buffer overflows in K32GetModuleFileNameExA/W. 2012-04-30 14:27:13 +02:00
Dmitry Timoshkov 4c6a19837b psapi: Add missing return value checks. 2012-03-27 18:01:00 +02:00
Dmitry Timoshkov 48a2a467cd psapi: Make sure that NtQueryVirtualMemory(MemorySectionName) succeeds under Windows 2000 too. 2012-02-07 09:31:14 -06:00
Dmitry Timoshkov 2a0de94844 psapi: Add a test for NtQueryVirtualMemory(MemorySectionName). 2012-02-06 10:19:30 -06:00
Alexandre Julliard 773c46b929 psapi/tests: Don't check data returned from a failing call. 2012-01-31 15:38:01 +01:00
Dmitry Timoshkov 7705ad45c9 psapi: Add more GetMappedFileName tests. 2012-01-27 18:05:46 +01:00
Francois Gouget 187de1794e psapi/tests: Fix the EnumProcessModules() test and provide more diagnostic information if it fails.
On some Windows systems aclayers.dll gets injected into the process and brings in a lot of extra dlls.
2011-08-26 16:33:52 +02:00
Francois Gouget 3b239dbc62 kernel32: Implement K32GetProcessImageFileNameA(). 2011-08-05 15:22:47 +02:00
Austin English db27d9afa9 psapi/tests: Get rid of an ugly test macro. 2010-10-08 11:02:27 +02:00
Austin English f2d1145142 psapi/tests: Macro cleanup. 2010-10-05 12:07:37 +02:00
Austin English cad2aaff2b psapi/tests: Remove an ugly macro. 2010-10-04 15:00:05 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard 6cf16d723a psapi/tests: Fix the working set tests for Wow64. 2010-06-22 13:06:23 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard c7f7d1985e psapi/tests: Handle an error that happens on Win2k. 2010-02-05 11:39:24 +01:00
Mikołaj Zalewski 666c0a57cc psapi: Implement GetProcessImageNameW. 2009-04-07 11:20:58 +02:00
Paul Vriens 2b83936b3c psapi/tests: Use win_skip instead of trace. 2008-10-21 11:43:28 +02:00
Francois Gouget 7071a0105f psapi/tests: Fix a signed/unsigned int mismatch. 2007-05-29 13:46:33 +02:00
Michael Ploujnikov cab43e6b61 psapi/tests: Win64 printf format warning fixes. 2006-10-11 12:09:14 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Felix Nawothnig 08200ca3bc Make GetProcessMemoryInfo fail if the passed buffer is too small. 2005-07-08 11:31:14 +00:00