lit: Preserve the PATHEXT variable when running subcommands, this is important on Win32

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-11-08 03:35:19 +00:00
parent 7e89738f98
commit 2d01b26ce7

View File

@ -12,6 +12,7 @@ class TestingConfig:
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',
}