lit: Propagate TERM variable in environment, some tools can do really obscure
authorDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 17:23:34 +0000 (17:23 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 19 Oct 2012 17:23:34 +0000 (17:23 +0000)
odd things if this is missing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166289 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/TestingConfig.py

index 223120c4fe22059955369c3efed7ca40058c91a5..1465fec6f66c21e6543bc5e2b7df7b7c318008d9 100644 (file)
@@ -16,6 +16,7 @@ class TestingConfig:
                 'PATH' : os.pathsep.join(litConfig.path +
                                          [os.environ.get('PATH','')]),
                 'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
+                'TERM' : os.environ.get('TERM',''),
                 'LLVM_DISABLE_CRASH_REPORT' : '1',
                 }