From: NAKAMURA Takumi Date: Sat, 20 Aug 2011 05:44:58 +0000 (+0000) Subject: utils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4749cc5a3d198ea31b14c552a35a80d09ec53fa4;p=oota-llvm.git 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 --- diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index a405a0c2e1b..a92dca8fb1b 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,