On Fri, 25 Mar 2022, RĂ©mi Bernon wrote: [...]
- size = min(memex.ullTotalPhys, ~(SIZE_T)0 >> 1);
- size_broken = min(memex.ullTotalPhys, ~(SIZE_T)0);
- ok(compare_ulong64(mem.dwTotalPhys, size, max_diff)
|| broken(compare_ulong64(mem.dwTotalPhys, size_broken, max_diff)) /* Win <= 8.1 with RAM size > 4GB */,
You've lost this broken() case in a couple of places which causes the tests to fail on the cw-gtx560 and cw-rx460 machines. That's because they have 16 GB of memory (> 4 GB) and in that case Windows 8.1 (<= Win <= 8.1) returns -1 (~(SIZE_T)0).
https://test.winehq.org/data/patterns.html#kernel32:heap