Print java -version when running tests on the bot.
Some slaves are executing pure java debugging tests differently and it may be
the java version on the bot causing this.
Change-Id: I41306530eda442c3431b121e4f627d51d7932480
diff --git a/tools/test.py b/tools/test.py
index f4cee88..bb6a98a 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -121,6 +121,8 @@
def Main():
(options, args) = ParseOptions()
if utils.is_bot():
+ print "Result of 'java -version':"
+ print subprocess.check_output(['java', '-version'])
gradle.RunGradle(['clean'])
gradle_args = ['--stacktrace']