summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpilch <cpilch@google.com>2017-03-27 21:59:14 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-27 21:59:14 +0000
commit21d232361ad5d71caef6fe28b1d1cc89daabb9a5 (patch)
treee17836ceefa6089cdb835f9fa28946220a673a7f
parent22e3a123739e6132e662d36ff8dae7ee2abb4059 (diff)
parent423d1c1b10427f3cda7f65630e824c209c2b648a (diff)
downloadadt-infra-21d232361ad5d71caef6fe28b1d1cc89daabb9a5.tar.gz
Add getcwd() to zip_and_upload to debug am: 1ba4930db9
am: 423d1c1b10 Change-Id: Ie3231f6a0ff629be2944dd6251cd20e39bc167b3
-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])