ntoskrnl/tests: Declare the driver subtest.

It may print test failures and as such should be declared by its parent.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2019-08-27 04:14:40 +02:00 committed by Alexandre Julliard
parent 208ff02005
commit c9f222e775
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ START_TEST(ntoskrnl)
pSetFileCompletionNotificationModes = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"), pSetFileCompletionNotificationModes = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"),
"SetFileCompletionNotificationModes"); "SetFileCompletionNotificationModes");
subtest("driver");
if (!(service = load_driver(filename, "driver.dll", "WineTestDriver"))) if (!(service = load_driver(filename, "driver.dll", "WineTestDriver")))
return; return;
if (!start_driver(service)) if (!start_driver(service))