forked from OSchip/llvm-project
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
9b4ae4bb1c
commit
9f1761c3e0
|
@ -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