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
cf1bbad7
Commit
cf1bbad7
authored
Oct 17, 2017
by
Alex Henrie
Committed by
Alexandre Julliard
Oct 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psapi/tests: Increase GetPerformanceInfo error margins for Windows 10.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
126e3e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
psapi_main.c
dlls/psapi/tests/psapi_main.c
+2
-2
No files found.
dlls/psapi/tests/psapi_main.c
View file @
cf1bbad7
...
...
@@ -225,7 +225,7 @@ static void test_GetPerformanceInfo(void)
ok
(
check_with_margin
(
info
.
CommitPeak
,
sys_performance_info
->
PeakCommitment
,
32
),
"expected approximately %ld but got %d
\n
"
,
info
.
CommitPeak
,
sys_performance_info
->
PeakCommitment
);
ok
(
check_with_margin
(
info
.
PhysicalAvailable
,
sys_performance_info
->
AvailablePages
,
128
),
ok
(
check_with_margin
(
info
.
PhysicalAvailable
,
sys_performance_info
->
AvailablePages
,
512
),
"expected approximately %ld but got %d
\n
"
,
info
.
PhysicalAvailable
,
sys_performance_info
->
AvailablePages
);
/* TODO: info.SystemCache not checked yet - to which field(s) does this value correspond to? */
...
...
@@ -237,7 +237,7 @@ static void test_GetPerformanceInfo(void)
ok
(
check_with_margin
(
info
.
KernelPaged
,
sys_performance_info
->
PagedPoolUsage
,
64
),
"expected approximately %ld but got %d
\n
"
,
info
.
KernelPaged
,
sys_performance_info
->
PagedPoolUsage
);
ok
(
check_with_margin
(
info
.
KernelNonpaged
,
sys_performance_info
->
NonPagedPoolUsage
,
8
),
ok
(
check_with_margin
(
info
.
KernelNonpaged
,
sys_performance_info
->
NonPagedPoolUsage
,
16
),
"expected approximately %ld but got %d
\n
"
,
info
.
KernelNonpaged
,
sys_performance_info
->
NonPagedPoolUsage
);
/* compare with values from SYSTEM_BASIC_INFORMATION */
...
...
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