Commit Graph

84 Commits

Author SHA1 Message Date
Andrey Gusev bf8eb24913 kernel32/tests: Fix typos in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:55:17 +01:00
André Hentschel ee9f2c62d5 kernel32: Implement GetCurrentThreadStackLimits.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46179
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:41:47 +01:00
Michael Stefaniuc 80be3a460b kernel32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:02:48 +02:00
Andrey Gusev 027e2add2e kernel32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 19:13:24 +01:00
Rafał Harabień 56424c5b6f kernel32/tests: Check last error after successful Tls/FlsGetValue calls.
Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 13:02:58 +01:00
Piotr Caban 05ab8b98be ntdll: Add stub implementation of NtQueryInformationThread(ThreadIsIoPending).
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 10:53:32 +01:00
André Hentschel 59504204c3 kernel32/tests: Allow ERROR_ACCESS_DENIED for GetThreadContext.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 22:18:45 +09:00
Sebastian Lackner 355af77a21 kernel32/tests: Add a missing linebreak to an ok() message.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:40:23 +09:00
Keno Fischer b0290ec3b8 kernel32/tests: Improve tests for pUnregisterWait(0).
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 13:44:39 +09:00
Keno Fischer 90173ce448 ntdll: Tolerate null handle in DeregisterWait.
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:22 +09:00
John Sheu 4e8f43f423 kernel32/tests: Add thread tests for fiber-local storage.
Signed-off-by: John Sheu <sheu@google.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:39 +09:00
Dmitry Timoshkov 6870f3c049 kernel32/tests: Add tests for GetThreadSelectorEntry.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:17:06 +09:00
Andrey Gusev 2f5d04aaeb kernel32/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:30:57 +09:00
Sebastian Lackner 646888ec79 kernel32/tests: Remove unnecessary busy loop (PVS-Studio).
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:08 +09:00
Michael Müller 9d58aac467 kernel32: Implement Set/GetThreadGroupAffinity and add tests.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Thomas Faber 9165dbbffc kernel32/tests: Run test_thread_fpu_cw on x86 MSVC builds. 2015-09-02 14:54:22 +09:00
Dmitry Timoshkov 0a2ef17620 kernel32/tests: Avoid intermittent test failures. 2015-08-24 18:41:36 +09:00
Dmitry Timoshkov 3bed65b5a9 server: For querying thread information demand THREAD_QUERY_LIMITED_INFORMATION access. 2015-08-21 14:35:04 +09:00
Dmitry Timoshkov 8738cea7de kernel32/tests: Add some tests for THREAD_QUERY_LIMITED_INFORMATION. 2015-08-20 16:32:53 +09:00
André Hentschel 4b8df74447 kernel32/tests: Add more ARM and ARM64 arch strings. 2015-08-12 22:52:26 +09:00
Sebastian Lackner d2a3c9c20e kernel32/tests: Fix leak of threadpool object. 2015-07-03 13:08:28 +09:00
Sebastian Lackner eadd27a38a kernel32: Forward remaining threadpool functions to ntdll. 2015-07-03 13:08:20 +09:00
Sebastian Lackner c936e505e5 kernel32/tests: Add missing ReleaseActCtx() calls. (Valgrind). 2014-06-23 10:18:13 +02:00
Jacek Caban e168cd28db kernel32: Skip reserved TLS tests on WinXP SP1. 2014-03-31 15:28:55 +02:00
Jacek Caban 93920c3893 ntdll: Reserve TLS slot 0 for broken apps that compare index to 0 instead of TLS_OUT_OF_INDEXES. 2014-03-28 16:19:55 +01:00
Dmitry Timoshkov cdc306651c kernel32/tests: Use THREAD_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:51 +01:00
Marcus Meissner 5d58b92b73 kernel32/tests: Initial threadpool test. 2014-02-04 11:14:52 +01:00
Dmitry Timoshkov abbe8b3d02 kernel32/tests: Fix thread tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Nikolay Sivov ab08d2a5ba kernel32/tests: Some tests for initial thread activation context. 2013-09-05 13:23:42 +02:00
Dan Kegel 073d7212a7 kernel32: Make SetThreadPriorityBoost return success. 2013-05-28 14:54:49 +02:00
Detlef Riekenberg ece3fafcda kernel32/tests: Avoid test failure on multicore machines. 2013-03-26 17:16:01 +01:00
Detlef Riekenberg 5c1e6cf7cd kernel32/tests: Fix 32-bit thread test failures on NT 5.x 64bit. 2012-11-14 19:23:36 +01:00
Jörg Höhle a52e160c68 kernel32/tests: WaitForMultipleObjects returns lowest signaled handle first. 2011-08-22 16:14:32 +02:00
André Hentschel ff63e42785 kernel32/tests: Fix warning on non-x86 platforms. 2011-07-07 12:29:55 +02:00
Austin English 689840babb kernel32/tests: Fix typo in test failure message. 2011-05-09 10:50:54 +02:00
Alexandre Julliard f555c2d857 kernel32/tests: Fix a race that could corrupt the thread register state. 2011-05-06 17:12:22 +02:00
Alexandre Julliard 055c883ee0 server: Fix the status code for get/set_thread_context on a terminated thread. 2011-05-06 14:23:25 +02:00
André Hentschel 27ae573806 kernel32/tests: Fix a test for real hardware. 2011-03-14 19:31:30 +01:00
Joris Huizer fb296d1201 kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:12 -06:00
André Hentschel 85386c2c6e kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-01-12 14:59:43 +01:00
Austin Lund 86c39000a4 kernel32/tests: Increase timeouts to avoid test failures in CreateRemoteThread. 2010-10-25 13:52:51 +02:00
Alexandre Julliard 7064e8838c kernel32/tests: Make some variables static. 2010-10-01 13:36:35 +02:00
Alexandre Julliard b14cfdeea4 tests: Run all tests with the default FPU control word. 2010-07-20 11:41:05 +02:00
Alexandre Julliard 0db65fd36e ntdll: Fix the initial FPU control word on 32-bit too. 2010-06-22 11:19:02 +02:00
Alexandre Julliard 8b54390686 ntdll: Fix the initial FPU control word on 64-bit. 2010-06-21 11:49:25 +02:00
Henri Verbeet 772a5c7c09 ntdll: The FPU control word for newly created threads is 0x27f.
This fixes a regression introduced by
e6611e22fb.
2010-06-17 11:50:23 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
Reece Dunn 1b46c0660d kernel32/tests: Add a test case for calling TlsFree on a freed index. 2010-03-03 11:49:35 +01:00
Erich Hoover 2902d8090a kernel32/tests: Add test for 'all processors' flag on Vista and newer. 2010-02-22 11:57:12 +01:00