summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpilch <cpilch@google.com>2017-03-27 21:55:43 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-27 21:55:43 +0000
commit423d1c1b10427f3cda7f65630e824c209c2b648a (patch)
treee17836ceefa6089cdb835f9fa28946220a673a7f
parenta931634790c4242c43236e2a6911bf03e7d4d695 (diff)
parent1ba4930db92796305008a4540a5ad42208de31cb (diff)
downloadadt-infra-423d1c1b10427f3cda7f65630e824c209c2b648a.tar.gz
Add getcwd() to zip_and_upload to debug
am: 1ba4930db9 Change-Id: Ib4fb14542bfc8af30a394e0e9d282e8118f16578
-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])