diff --git a/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py b/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py index 8bf950a1bd3c3..cbfedcc68f026 100644 --- a/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py +++ b/lldb/test/API/commands/platform/sdk/TestPlatformSDK.py @@ -39,6 +39,7 @@ def port_not_available(self): return '{} not available'.format(self.PORT) return None + @skipIf @no_debug_info_test @skipUnlessDarwin @expectedFailureIfFn(no_debugserver) diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 67e892ee13de6..e745766b11046 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -266,6 +266,9 @@ def delete_module_cache(path): # testFormat: The test format to use to interpret tests. config.test_format = lldbtest.LLDBTest(dotest_cmd) +# Propagate TERM or default to vt100. +config.environment['TERM'] = os.getenv('TERM', default='vt100') + # Propagate FREEBSD_LEGACY_PLUGIN if 'FREEBSD_LEGACY_PLUGIN' in os.environ: config.environment['FREEBSD_LEGACY_PLUGIN'] = os.environ[