Index: build/android/test_wrapper/logdog_wrapper.py |
diff --git a/build/android/test_wrapper/logdog_wrapper.py b/build/android/test_wrapper/logdog_wrapper.py |
index 1d70b4ae2d86577f323c5d8b7532b042fb2680a3..6daea499d4341a039b92aad50467317d6d7ed6fd 100755 |
--- a/build/android/test_wrapper/logdog_wrapper.py |
+++ b/build/android/test_wrapper/logdog_wrapper.py |
@@ -57,8 +57,9 @@ def main(): |
'-service-account-json', args.service_account_json, |
'stream', '-source', args.source, |
'-stream', '-name=%s' % args.name] |
- subprocess.call(logdog_cmd) |
- logging.info('Logcats are located at: %s', url) |
+ if os.path.exists(args.logdog_bin_cmd): |
dnj
2016/08/12 19:29:02
Does this mean that if binary doesn't exist, nothi
dnj
2016/08/12 19:34:57
I guess what I'm saying is:
1) We're explicitly ma
dnj
2016/08/12 19:49:01
Maybe the thing to do here is surround the engire
|
+ subprocess.call(logdog_cmd) |
+ logging.info('Logcats are located at: %s', url) |
return result |