Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
Supersedes: 213297-213305
I'll resend the HID patches later, I'd really like to move them to dlls/hid/tests, unless there's reasons not to, probably by copying the code from dlls/ntoskrnl.exe/tests.
dlls/ntoskrnl.exe/tests/ntoskrnl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/tests/ntoskrnl.c b/dlls/ntoskrnl.exe/tests/ntoskrnl.c index dc10497caee..4434e61bcb8 100644 --- a/dlls/ntoskrnl.exe/tests/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/tests/ntoskrnl.c @@ -946,7 +946,7 @@ static void do_return_status(ULONG ioctl, struct return_status_params *params) static void test_return_status(void) { struct return_status_params params; - unsigned int i, j, k; + unsigned int i, j, k, old_threshold;
static const ULONG method_tests[] = { @@ -968,6 +968,9 @@ static void test_return_status(void) 0xceadbeef, };
+ old_threshold = winetest_mute_threshold; + winetest_mute_threshold = 1; + for (i = 0; i < ARRAY_SIZE(status_tests); ++i) { for (j = 0; j < ARRAY_SIZE(status_tests); ++j) @@ -989,6 +992,8 @@ static void test_return_status(void) } } } + + winetest_mute_threshold = old_threshold; }
static BOOL compare_unicode_string(const WCHAR *buffer, ULONG len, const WCHAR *expect)