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.

llvm-svn: 166289

llvm/utils/lit/lit/TestingConfig.py

index 223120c..1465fec 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',
                 }