Zebediah Figura
7ee7953c54
kernel32/tests: Call NtQuerySystemInformation(SystemProcessInformation) until it returns STATUS_SUCCESS.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-07 13:10:13 +02:00
Changping Yu
59ce4e3eb8
kernel32: Adjust thread creation insertion order.
...
Signed-off-by: Changping Yu <dead.ash@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Changping Yu
ab7485bb4b
kernel32/tests: Add test for thread enumeration order in toolhelp.
...
Signed-off-by: Changping Yu <dead.ash@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:38 +02:00
Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Francois Gouget
cd523f3049
kernel32/tests: Simplify the name of the test unit for child processes.
...
The official name (shown by --list) has no path nor extension.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 09:13:00 +01:00
Rémi Bernon
c2b81e8dfd
kernel32/tests: Fix some format-overflow warnings.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Michael Stefaniuc
6a04cf4a69
kernel32/tests: Avoid ARRAY_SIZE-like macros.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:03:47 +02:00
André Hentschel
774efacbec
kernel32/tests: Don't test for the exact process count.
2015-09-25 20:59:35 +02:00
Nikolay Sivov
00ff2ed81e
kernel32/tests: Added missing comma (Coverity).
2014-04-15 09:45:18 +02:00
Dmitry Timoshkov
965d903f33
kernel32/tests: Fix toolhelp tests compilation with __WINESRC__ defined.
2013-10-22 16:37:40 +02:00
André Hentschel
6ff842fddb
kernel32/tests: Also test for ntdll.dll in toolhelp tests.
2011-03-18 11:29:24 +01:00
Michael Stefaniuc
9b2730eb88
kernel32: Remove superfluous pointer casts.
2009-03-11 13:03:31 +01:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Alexandre Julliard
c9b4210b9c
kernel32/tests: Use the actual name of the exe module in toolhelp tests.
2009-01-04 14:59:34 +01:00
Alexandre Julliard
bb7de132dd
kernel32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:20:14 +01:00
Huw Davies
6e2827ec29
kernel32: Fix typo.
2008-06-20 11:19:30 +02:00
Alexandre Julliard
a991afae9b
kernel32/tests: Make the toolhelp test less verbose by default.
2008-06-10 11:34:11 +02:00
James Hawkins
c81d36e989
kernel32: Remove two tests that produce different results for win9x and NT platforms.
2008-05-29 12:12:43 +02:00
Paul Vriens
d3c4e3d4a7
kernel32/tests: Fix tests on win9x.
2008-05-01 12:42:22 +02:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Marcus Meissner
3bf54c2950
server: Enumerate process in reverse.
2008-01-14 16:24:55 +01:00
Michael Stefaniuc
e973a193b7
kernel32: Remove duplicate includes.
2007-11-19 13:54:14 +01:00
Paul Vriens
203bcf4271
kernel32/tests: Use skip when functions are not available.
2007-07-05 19:54:07 +02:00
Francois Gouget
e5b1ca4cf5
kernel32/tests: Fix a signed/unsigned int mismatch.
2007-05-29 12:11:55 +02:00
Michael Stefaniuc
8218440c20
kernel32/tests: Win64 printf format warning fixes.
2006-10-10 16:11:27 +02:00
Alexandre Julliard
489d87d1e5
kernel32: Renamed the kernel directory to kernel32.
...
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00