summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpilch <cpilch@google.com>2017-03-27 14:50:18 -0700
committercpilch <cpilch@google.com>2017-03-27 14:50:18 -0700
commit1ba4930db92796305008a4540a5ad42208de31cb (patch)
treee17836ceefa6089cdb835f9fa28946220a673a7f
parent1eb513c54445eebabf048c563f94c9ff2f119f1b (diff)
downloadadt-infra-1ba4930db92796305008a4540a5ad42208de31cb.tar.gz
Add getcwd() to zip_and_upload to debug
Debug the call to zip by printing the cwd. Change-Id: I8b64ffb78d1db65d2d9cf30bf57d1bfa51e062b2
-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])