disable windows hang checking for now, bug 525370 filed to sort it out
authorTed Mielczarek <ted.mielczarek@gmail.com>
Thu, 29 Oct 2009 20:25:58 -0400
changeset 34390 0de15169a880883e4cfb3739e69788a0c10269e6
parent 34389 03aea0cb3e603ba22b4009268e18ee974b71348d
child 34391 3a5fa7a8fa16681cd2aeb4af9ab12e980086734d
push id10009
push usertmielczarek@mozilla.com
push dateFri, 30 Oct 2009 00:23:45 +0000
treeherdermozilla-central@0de15169a880 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
disable windows hang checking for now, bug 525370 filed to sort it out
--- a/build/automation.py.in
+++ b/build/automation.py.in
@@ -436,16 +436,21 @@ def environment(env = None, xrePath = DI
   if crashreporter:
     env['MOZ_CRASHREPORTER'] = '1'
   return env
 if IS_WIN32:
+  #XXX: disabled on windows for now, see bug 525370 
+  def readWithTimeout(f, timeout):
+    return (f.readline(), False)
+elif False:
+  #XXX: figure out what's going wrong with this code!
   import ctypes, time, msvcrt
   PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
   GetLastError = ctypes.windll.kernel32.GetLastError
   def readWithTimeout(f, timeout):
     """Try to read a line of output from the file object |f|.
     |f| must be a  pipe, like the |stdout| member of a subprocess.Popen
     object created with stdout=PIPE. If no output
     is received within |timeout| seconds, return a blank line.