Module: wine Branch: master Commit: cf1bbad7144298cc7b261d612b4bcbe22b47f647 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf1bbad7144298cc7b261d612b...
Author: Alex Henrie alexhenrie24@gmail.com Date: Tue Oct 17 23:28:35 2017 -0600
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
---
dlls/psapi/tests/psapi_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/psapi/tests/psapi_main.c b/dlls/psapi/tests/psapi_main.c index e35a7b6..50dfdd9 100644 --- a/dlls/psapi/tests/psapi_main.c +++ b/dlls/psapi/tests/psapi_main.c @@ -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 */