[llvm] [cross-project-tests][lit] Print LLDB version when configuring tests (PR #192614)
Michael Buch via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 02:02:31 PDT 2026
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/192614
Useful when debugging issues with the LLDB tests.
>From 0aee16f5a79eb3023ab67d05162188ebd0b588ef Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 27 Mar 2026 13:22:09 +0000
Subject: [PATCH] [cross-project-tests][lit] Print LLDB version when
configuring tests
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 c8d961aaac8d3..a6412329ba0ef 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":
More information about the llvm-commits
mailing list