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!

llvm-svn: 127072
This commit is contained in:
NAKAMURA Takumi 2011-03-05 09:46:36 +00:00
parent d7f4c21684
commit f86dd9e3ec
1 changed files with 1 additions and 0 deletions

View File

@ -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,