lit: Preserve the PATHEXT variable when running subcommands, this is important on...
authorDaniel Dunbar <daniel@zuster.org>
Sun, 8 Nov 2009 03:35:19 +0000 (03:35 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 8 Nov 2009 03:35:19 +0000 (03:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86436 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/TestingConfig.py

index e4874d7a82ef7608f7e108346b876a250f6086d8..1f5067c8e50294f85434e143f80e256b4db67175 100644 (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',
                 }