Mercurial > ~astiob > upreckon > hgweb
diff win32.py @ 122:d6fd880207cb
Fixed memory-limit-exceeded false positives on Win32
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sun, 24 Apr 2011 16:48:29 +0100 |
parents | 72c02b640dcf |
children | 10aa5a0e46bd |
line wrap: on
line diff
--- a/win32.py Sat Apr 23 01:16:57 2011 +0300 +++ b/win32.py Sun Apr 24 16:48:29 2011 +0100 @@ -530,8 +530,6 @@ raise testcases.CPUTimeLimitExceeded if case.maxcputime and case.process.returncode == 1816: raise testcases.CPUTimeLimitExceeded - if case.maxmemory and case.process.returncode == -0x3ffffffb: - raise testcases.MemoryLimitExceeded if case.maxmemory and GetProcessMemoryInfo: try: counters = GetProcessMemoryInfo(case.process._handle)