Commit 4f5342f2 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

psapi/tests: Increase GetPerformanceInfo error margins for Windows 8.

parent 3a7597aa
...@@ -230,11 +230,11 @@ static void test_GetPerformanceInfo(void) ...@@ -230,11 +230,11 @@ static void test_GetPerformanceInfo(void)
/* TODO: info.SystemCache not checked yet - to which field(s) does this value correspond to? */ /* TODO: info.SystemCache not checked yet - to which field(s) does this value correspond to? */
ok(check_with_margin(info.KernelTotal, sys_performance_info->PagedPoolUsage + sys_performance_info->NonPagedPoolUsage, 64), ok(check_with_margin(info.KernelTotal, sys_performance_info->PagedPoolUsage + sys_performance_info->NonPagedPoolUsage, 256),
"expected approximately %ld but got %d\n", info.KernelTotal, "expected approximately %ld but got %d\n", info.KernelTotal,
sys_performance_info->PagedPoolUsage + sys_performance_info->NonPagedPoolUsage); sys_performance_info->PagedPoolUsage + sys_performance_info->NonPagedPoolUsage);
ok(check_with_margin(info.KernelPaged, sys_performance_info->PagedPoolUsage, 64), ok(check_with_margin(info.KernelPaged, sys_performance_info->PagedPoolUsage, 256),
"expected approximately %ld but got %d\n", info.KernelPaged, sys_performance_info->PagedPoolUsage); "expected approximately %ld but got %d\n", info.KernelPaged, sys_performance_info->PagedPoolUsage);
ok(check_with_margin(info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage, 16), ok(check_with_margin(info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage, 16),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment