[cfe-commits] r75506 - /cfe/trunk/utils/test/TestRunner.py
Daniel Dunbar
daniel at zuster.org
Mon Jul 13 14:24:28 PDT 2009
Author: ddunbar
Date: Mon Jul 13 16:24:28 2009
New Revision: 75506
URL: http://llvm.org/viewvc/llvm-project?rev=75506&view=rev
Log:
Make stdin for test scripts empty, so that tests don't accidentally hang waiting
for stdin.
Modified:
cfe/trunk/utils/test/TestRunner.py
Modified: cfe/trunk/utils/test/TestRunner.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/TestRunner.py?rev=75506&r1=75505&r2=75506&view=diff
==============================================================================
--- cfe/trunk/utils/test/TestRunner.py (original)
+++ cfe/trunk/utils/test/TestRunner.py Mon Jul 13 16:24:28 2009
@@ -151,6 +151,7 @@
try:
p = subprocess.Popen(["/bin/sh",SCRIPT],
cwd=os.path.dirname(FILENAME),
+ stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out,err = p.communicate()
More information about the cfe-commits
mailing list