[cross-project-tests][lit] Print LLDB version when configuring tests (#192614)
Useful when debugging issues with the LLDB tests.
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user