[llvm-commits] [llvm] r138192 - /llvm/trunk/utils/lit/lit/TestingConfig.py
NAKAMURA Takumi
geek4civic at gmail.com
Fri Aug 19 22:44:58 PDT 2011
Author: chapuni
Date: Sat Aug 20 00:44:58 2011
New Revision: 138192
URL: http://llvm.org/viewvc/llvm-project?rev=138192&view=rev
Log:
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.
Modified:
llvm/trunk/utils/lit/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=138192&r1=138191&r2=138192&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Sat Aug 20 00:44:58 2011
@@ -23,6 +23,8 @@
'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,
More information about the llvm-commits
mailing list