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:
parent
2d13692fbd
commit
6f25e6a0ec
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user