diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-20 05:44:58 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-20 05:44:58 +0000 |
commit | 4749cc5a3d198ea31b14c552a35a80d09ec53fa4 (patch) | |
tree | 9e7a49e737477e293148439ae41845c637b50546 /utils | |
parent | 7a13cc625bbc0d23bfb2450e87a4be7d7f98be15 (diff) | |
download | external_llvm-4749cc5a3d198ea31b14c552a35a80d09ec53fa4.zip external_llvm-4749cc5a3d198ea31b14c552a35a80d09ec53fa4.tar.gz external_llvm-4749cc5a3d198ea31b14c552a35a80d09ec53fa4.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index a405a0c..a92dca8 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -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, |