diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-13 21:24:28 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-13 21:24:28 +0000 |
commit | 02cee152383673a973e22d377b6a721a70682a71 (patch) | |
tree | 9d945e76460ebb319acde80a88250c935ba2fcd2 | |
parent | 760e3c4bf4b1354688c854c91cc1e11a6e010f25 (diff) |
Make stdin for test scripts empty, so that tests don't accidentally hang waiting
for stdin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75506 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/test/TestRunner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/test/TestRunner.py b/utils/test/TestRunner.py index 728d406e62..6c6de1bf66 100755 --- a/utils/test/TestRunner.py +++ b/utils/test/TestRunner.py @@ -151,6 +151,7 @@ def runOneTest(FILENAME, SUBST, OUTPUT, TESTNAME, CLANG, CLANGCC, 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() |