forked from OSchip/llvm-project
[lldb] Use lit_config.note to print module cache message
This commit is contained in:
parent
74903059b2
commit
ab7618914d
|
@ -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'):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue