Skip to content

Commit 96968bd

Browse files
authored
Merge pull request #4098 from apple/vt100
[lldb] Set the TERM environment variable for the API tests
2 parents 88d031f + 71f6077 commit 96968bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/lit.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ def delete_module_cache(path):
254254
# testFormat: The test format to use to interpret tests.
255255
config.test_format = lldbtest.LLDBTest(dotest_cmd)
256256

257+
# Propagate TERM or default to vt100.
258+
config.environment['TERM'] = os.getenv('TERM', default='vt100')
259+
257260
# Propagate FREEBSD_LEGACY_PLUGIN
258261
if 'FREEBSD_LEGACY_PLUGIN' in os.environ:
259262
config.environment['FREEBSD_LEGACY_PLUGIN'] = os.environ[

0 commit comments

Comments
 (0)