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

Side by Side Diff: slave/skia_slave_scripts/chrome_drt_canary_upload_results.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ Run this before running any tests. """ 6 """ Run this before running any tests. """
7 7
8 from build_step import BuildStep 8 from build_step import BuildStep
9 from utils import shell_utils 9 from py.utils import shell_utils
10 from utils import upload_to_bucket 10 from utils import upload_to_bucket
11 import os 11 import os
12 import posixpath 12 import posixpath
13 import skia_vars 13 import skia_vars
14 import sys 14 import sys
15 15
16 16
17 GS_DRT_SUBDIR = 'chrome_drt_results' 17 GS_DRT_SUBDIR = 'chrome_drt_results'
18 18
19 19
(...skipping 14 matching lines...) Expand all
34 print 'To download the tarball, run this command:' 34 print 'To download the tarball, run this command:'
35 gs_url = posixpath.join( 35 gs_url = posixpath.join(
36 skia_vars.GetGlobalVariable('googlestorage_bucket'), 36 skia_vars.GetGlobalVariable('googlestorage_bucket'),
37 GS_DRT_SUBDIR, 37 GS_DRT_SUBDIR,
38 result_tarball) 38 result_tarball)
39 print 'gsutil cp %s <local_dir>' % gs_url 39 print 'gsutil cp %s <local_dir>' % gs_url
40 40
41 41
42 if '__main__' == __name__: 42 if '__main__' == __name__:
43 sys.exit(BuildStep.RunBuildStep(ChromeDRTCanaryUploadResults)) 43 sys.exit(BuildStep.RunBuildStep(ChromeDRTCanaryUploadResults))
OLDNEW
« no previous file with comments | « slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py ('k') | slave/skia_slave_scripts/compare_gms.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698