From 58b65fa67f1fa25c45a92550f99c2d7f7b2c2bec Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Fri, 17 Apr 2026 10:09:43 +0100 Subject: [PATCH] [cross-project-tests][lit] Print LLDB version when configuring tests (#192614) Useful when debugging issues with the LLDB tests. --- cross-project-tests/lit.cfg.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cross-project-tests/lit.cfg.py b/cross-project-tests/lit.cfg.py index c8d961aaac8d..a6412329ba0e 100644 --- a/cross-project-tests/lit.cfg.py +++ b/cross-project-tests/lit.cfg.py @@ -311,7 +311,16 @@ def get_lldb_version_string(): def set_lldb_formatters_compatibility_feature(): current_lldb_version = get_lldb_version_string() - if not current_lldb_version: + if current_lldb_version: + print( + f"Found LLDB version '{current_lldb_version}'", + file=sys.stderr, + ) + else: + print( + "No LLDB found on host. Skipping tests that require LLDB.", + file=sys.stderr, + ) return if platform.system() == "Darwin":