[Lldb-commits] [lldb] r238522 - Remove warning when testing for timeout command.

Chaoren Lin chaorenl at google.com
Thu May 28 16:00:10 PDT 2015


Author: chaoren
Date: Thu May 28 18:00:10 2015
New Revision: 238522

URL: http://llvm.org/viewvc/llvm-project?rev=238522&view=rev
Log:
Remove warning when testing for timeout command.

Modified:
    lldb/trunk/test/dosep.py

Modified: lldb/trunk/test/dosep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dosep.py?rev=238522&r1=238521&r2=238522&view=diff
==============================================================================
--- lldb/trunk/test/dosep.py (original)
+++ lldb/trunk/test/dosep.py Thu May 28 18:00:10 2015
@@ -48,12 +48,12 @@ def get_timeout_command():
     if sys.platform.startswith("win32"):
         return None
     try:
-        subprocess.call("timeout")
+        subprocess.call("timeout", stderr=subprocess.PIPE)
         return "timeout"
     except OSError:
         pass
     try:
-        subprocess.call("gtimeout")
+        subprocess.call("gtimeout", stderr=subprocess.PIPE)
         return "gtimeout"
     except OSError:
         pass





More information about the lldb-commits mailing list