Always print command cache stats on bots if using the cache
Change-Id: I8ad55b12628789d0874bbbb06fa70b28d02b901d
diff --git a/tools/test.py b/tools/test.py
index 55c25b7..c1fac5b 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -246,6 +246,8 @@
if utils.is_bot():
gradle.RunGradle(['--no-daemon', 'clean'], new_gradle=options.new_gradle)
print('Running with python ' + str(sys.version_info))
+ # Always print stats on bots if command cache is enabled
+ options.command_cache_stats = options.command_cache_dir is not None
desugar_jdk_json_dir = None
if options.desugared_library_configuration: