Remove warning when testing for timeout command.
llvm-svn: 238522
This commit is contained in:
parent
60b640bb80
commit
45c17ff6c2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue