Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9523dec5
Commit
9523dec5
authored
Sep 07, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Report the driver success and skipped tests counters.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55535
parent
18ff9ce6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
driver_hid.h
dlls/dinput/tests/driver_hid.h
+6
-0
hid.c
dlls/dinput/tests/hid.c
+3
-0
No files found.
dlls/dinput/tests/driver_hid.h
View file @
9523dec5
...
...
@@ -98,8 +98,11 @@ struct winetest_shared_data
int
running_under_wine
;
int
winetest_report_success
;
int
winetest_debug
;
LONG
successes
;
LONG
failures
;
LONG
todo_successes
;
LONG
todo_failures
;
LONG
skipped
;
};
static
inline
const
char
*
debugstr_pnp
(
ULONG
code
)
...
...
@@ -339,8 +342,11 @@ static inline void winetest_cleanup_( const char *file )
{
data
=
addr
;
InterlockedExchangeAdd
(
&
data
->
successes
,
winetest_successes
);
InterlockedExchangeAdd
(
&
data
->
failures
,
winetest_failures
);
InterlockedExchangeAdd
(
&
data
->
todo_successes
,
winetest_todo_successes
);
InterlockedExchangeAdd
(
&
data
->
todo_failures
,
winetest_todo_failures
);
InterlockedExchangeAdd
(
&
data
->
skipped
,
winetest_skipped
);
ZwUnmapViewOfSection
(
NtCurrentProcess
(),
addr
);
}
...
...
dlls/dinput/tests/hid.c
View file @
9523dec5
...
...
@@ -520,8 +520,11 @@ void bus_device_stop(void)
SetFilePointer
(
okfile
,
0
,
NULL
,
FILE_BEGIN
);
SetEndOfFile
(
okfile
);
InterlockedAdd
(
&
winetest_successes
,
InterlockedExchange
(
&
test_data
->
successes
,
0
)
);
winetest_add_failures
(
InterlockedExchange
(
&
test_data
->
failures
,
0
)
);
InterlockedAdd
(
&
winetest_todo_successes
,
InterlockedExchange
(
&
test_data
->
todo_successes
,
0
)
);
winetest_add_failures
(
InterlockedExchange
(
&
test_data
->
todo_failures
,
0
)
);
InterlockedAdd
(
&
winetest_skipped
,
InterlockedExchange
(
&
test_data
->
skipped
,
0
)
);
GetFullPathNameW
(
L"winetest.inf"
,
ARRAY_SIZE
(
path
),
path
,
NULL
);
ret
=
SetupCopyOEMInfW
(
path
,
NULL
,
0
,
0
,
dest
,
ARRAY_SIZE
(
dest
),
NULL
,
&
filepart
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment