mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a13cc625b
commit
4749cc5a3d
@ -23,6 +23,8 @@ class TestingConfig:
|
|||||||
'LLVM_DISABLE_CRT_DEBUG' : '1',
|
'LLVM_DISABLE_CRT_DEBUG' : '1',
|
||||||
'PATHEXT' : os.environ.get('PATHEXT',''),
|
'PATHEXT' : os.environ.get('PATHEXT',''),
|
||||||
'PYTHONUNBUFFERED' : '1',
|
'PYTHONUNBUFFERED' : '1',
|
||||||
|
'TEMP' : os.environ.get('TEMP',''),
|
||||||
|
'TMP' : os.environ.get('TMP',''),
|
||||||
})
|
})
|
||||||
|
|
||||||
config = TestingConfig(parent,
|
config = TestingConfig(parent,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user