[lldb] Use lit_config.note to print module cache message

This commit is contained in:
Jonas Devlieghere 2022-01-07 13:34:06 -08:00
parent 74903059b2
commit ab7618914d
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ def delete_module_cache(path):
This is necessary in an incremental build whenever clang changes underneath,
so doing it once per lit.py invocation is close enough. """
if os.path.isdir(path):
print("Deleting module cache at %s." % path)
lit_config.note("Deleting module cache at %s." % path)
shutil.rmtree(path)
if is_configured('llvm_use_sanitizer'):

View File

@ -85,7 +85,7 @@ llvm_config.feature_config(
# lit.py invocation is close enough.
for cachedir in [config.clang_module_cache, config.lldb_module_cache]:
if os.path.isdir(cachedir):
print("Deleting module cache at %s."%cachedir)
lit_config.note("Deleting module cache at %s."%cachedir)
shutil.rmtree(cachedir)
# Set a default per-test timeout of 10 minutes. Setting a timeout per test