summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-03-05 09:46:36 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-03-05 09:46:36 +0000
commit2f017cb7f3fbbde93f69a47172eeb7244ca269ec (patch)
tree0ddbd9557edd1e53a7c8c4129bfe3df5bb42028d /utils
parent5e84e3ccaa555bd48ecca384e93e55abd76fb40a (diff)
downloadllvm-2f017cb7f3fbbde93f69a47172eeb7244ca269ec.tar.gz
llvm-2f017cb7f3fbbde93f69a47172eeb7244ca269ec.tar.bz2
llvm-2f017cb7f3fbbde93f69a47172eeb7244ca269ec.tar.xz
On Windows hosts, Python scripts in test/Scripts did not accept binary files from stdin. The environment variable "PYTHONUNBUFFERED" makes stdin as binary. Thanks to Danil Malyshev!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/TestingConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index 0d9bc00a83..c7a03dd9b7 100644
--- a/utils/lit/lit/TestingConfig.py
+++ b/utils/lit/lit/TestingConfig.py
@@ -18,6 +18,7 @@ class TestingConfig:
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
'LLVM_DISABLE_CRT_DEBUG' : '1',
'PRINTF_EXPONENT_DIGITS' : '2',
+ 'PYTHONUNBUFFERED' : '1',
}
config = TestingConfig(parent,