Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5894)

Unified Diff: chrome/test/chromedriver/run_buildbot_steps.py

Issue 1884943004: [chromedriver] Prefix server logs with chromedriver_log_. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/chrome_launcher.cc ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/run_buildbot_steps.py
diff --git a/chrome/test/chromedriver/run_buildbot_steps.py b/chrome/test/chromedriver/run_buildbot_steps.py
index bf973fb019f64e8183db0f631be9f19edb240922..37b2358eba394b3ed884429166470caee0e0e601 100755
--- a/chrome/test/chromedriver/run_buildbot_steps.py
+++ b/chrome/test/chromedriver/run_buildbot_steps.py
@@ -67,13 +67,14 @@ def _ArchiveServerLogs():
"""Uploads chromedriver server logs to google storage."""
util.MarkBuildStepStart('archive chromedriver server logs')
for server_log in glob.glob(os.path.join(tempfile.gettempdir(),
- 'chromedriver_*')):
- base_name = os.path.basename(server_log)
- util.AddLink(base_name, '%s/%s' % (SERVER_LOGS_LINK, base_name))
- slave_utils.GSUtilCopy(
- server_log,
- '%s/%s' % (GS_SERVER_LOGS_URL, base_name),
- mimetype='text/plain')
+ 'chromedriver_log_*')):
+ if os.path.isfile(server_log):
+ base_name = os.path.basename(server_log)
+ util.AddLink(base_name, '%s/%s' % (SERVER_LOGS_LINK, base_name))
+ slave_utils.GSUtilCopy(
+ server_log,
+ '%s/%s' % (GS_SERVER_LOGS_URL, base_name),
+ mimetype='text/plain')
def _DownloadPrebuilts():
« no previous file with comments | « chrome/test/chromedriver/chrome_launcher.cc ('k') | chrome/test/chromedriver/test/run_all_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698