summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2020-06-29 13:31:28 +0100
committer Roland Levillain <rpl@google.com> 2020-06-29 13:31:28 +0100
commit22831a3e955fcd1afe7cdb5b16d174ba4cc1ab64 (patch)
treecb75977b4f5a52dd879ac7427765dc9f301b46e3
parent53b17f94405b42dc4ab4a128176af68cad39b1e9 (diff)
Print the build command in `test/testrunner/testrunner.py` (if any).
This is to make debugging easier in general. Test: Check build logs on `master-art-host` build/test targets. Change-Id: Id8126113ae45b0045c298c14d374e2528eff4752
-rwxr-xr-xtest/testrunner/testrunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testrunner/testrunner.py b/test/testrunner/testrunner.py
index 61272a18d3..16a3cb85de 100755
--- a/test/testrunner/testrunner.py
+++ b/test/testrunner/testrunner.py
@@ -1173,6 +1173,7 @@ def main():
build_command = env.ANDROID_BUILD_TOP + '/build/soong/soong_ui.bash --make-mode'
build_command += ' DX='
build_command += ' ' + build_targets
+ print_text('Build command: %s\n' % build_command)
if subprocess.call(build_command.split()):
# Debugging for b/62653020
if env.DIST_DIR: