[llvm-commits] [llvm] r86436 - /llvm/trunk/utils/lit/TestingConfig.py
Daniel Dunbar
daniel at zuster.org
Sat Nov 7 19:35:19 PST 2009
Author: ddunbar
Date: Sat Nov 7 21:35:19 2009
New Revision: 86436
URL: http://llvm.org/viewvc/llvm-project?rev=86436&view=rev
Log:
lit: Preserve the PATHEXT variable when running subcommands, this is important on Win32
Modified:
llvm/trunk/utils/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/TestingConfig.py?rev=86436&r1=86435&r2=86436&view=diff
==============================================================================
--- llvm/trunk/utils/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/TestingConfig.py Sat Nov 7 21:35:19 2009
@@ -12,6 +12,7 @@
environment = {
'PATH' : os.pathsep.join(litConfig.path +
[os.environ.get('PATH','')]),
+ 'PATHEXT' : os.environ.get('PATHEXT',''),
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
'LLVM_DISABLE_CRT_DEBUG' : '1',
}
More information about the llvm-commits
mailing list