utils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts.

Win32 GetTempPath() tends to pick up %WINDIR% when neither TEMP nor TMP was found. %WINDIR% should not be treated writable on recent Windows OS.

llvm-svn: 138192
This commit is contained in:
NAKAMURA Takumi 2011-08-20 05:44:58 +00:00
parent 9b4ae4bb1c
commit 9f1761c3e0
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class TestingConfig:
'LLVM_DISABLE_CRT_DEBUG' : '1',
'PATHEXT' : os.environ.get('PATHEXT',''),
'PYTHONUNBUFFERED' : '1',
'TEMP' : os.environ.get('TEMP',''),
'TMP' : os.environ.get('TMP',''),
})
config = TestingConfig(parent,