André Hentschel : psapi/tests: Adjust margin for win10.
Module: wine Branch: master Commit: c789554786a3a06afb1b914c056dd0b5be03bd68 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c789554786a3a06afb1b914c05... Author: André Hentschel <nerv(a)dawncrow.de> Date: Sat Oct 3 18:58:34 2015 +0200 psapi/tests: Adjust margin for win10. Signed-off-by: André Hentschel <nerv(a)dawncrow.de> --- 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 80e61fd..95f7c9f 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, 64), + ok(check_with_margin(info.PhysicalAvailable, sys_performance_info->AvailablePages, 128), "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? */ @@ -279,7 +279,7 @@ static void test_GetPerformanceInfo(void) } HeapFree(GetProcessHeap(), 0, sys_process_info); - ok(check_with_margin(info.HandleCount, handle_count, 8), + ok(check_with_margin(info.HandleCount, handle_count, 24), "expected approximately %d but got %d\n", info.HandleCount, handle_count); ok(check_with_margin(info.ProcessCount, process_count, 4),
participants (1)
-
Alexandre Julliard