summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpilch <cpilch@google.com>2017-03-27 22:02:58 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-27 22:02:58 +0000
commit0c94218c7ab406176b4a0957e489d556289e7110 (patch)
treef42e4568a98bcedacd05d62569f3900b1d352dae
parentdb546ad396cb6c4c2d2654e4e00c643cc04b8429 (diff)
parent21d232361ad5d71caef6fe28b1d1cc89daabb9a5 (diff)
downloadadt-infra-0c94218c7ab406176b4a0957e489d556289e7110.tar.gz
Add getcwd() to zip_and_upload to debug am: 1ba4930db9 am: 423d1c1b10android-vts-8.0_r2android-vts-8.0_r1oreo-dev
am: 21d232361a Change-Id: I6af5e843c7caf7d0f1868a27d8b0ebf4156f2fe7
-rw-r--r--emu_test/utils/zip_upload_logs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/emu_test/utils/zip_upload_logs.py b/emu_test/utils/zip_upload_logs.py
index a807e437..608c37eb 100644
--- a/emu_test/utils/zip_upload_logs.py
+++ b/emu_test/utils/zip_upload_logs.py
@@ -46,6 +46,7 @@ def zip_and_upload():
# if it is adb stress test log, zip and upload to GCS
if 'adb_stress_logs' in args.log_dir:
+ print 'Running command in directory: %s' % (os.getcwd())
verbose_call(['zip', '-r', args.zip_name, args.log_dir])
adb_stress_gs_dst = 'gs://adb_test_traces/%s/' % builderName
verbose_call(['python', gsutil_path, 'cp', args.zip_name, adb_stress_gs_dst])