1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 2d13692fbd
commit 6f25e6a0ec

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,