"Dmitry Timoshkov" dmitry@codeweavers.com writes:
"Paul Vriens" paul.vriens.wine@gmail.com wrote:
This of course differs on every run. My point is that ERROR_NOT_ENOUGH_MEMORY is totally valid and should be catered for in the test otherwise we would still have failures for this test.
I don't think it's a good idea to pollute every test that could fail due to insufficient memory with fake error handling.
Obviously you don't want to do that for every test, but if you write a test that requires 1Gb of memory then you definitely need to check, you can't assume that this will always work.