Skip to content
Snippets Groups Projects
Commit 9f1761c3 authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

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
parent 9b4ae4bb
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,8 @@ class TestingConfig: ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment