| OLD | NEW |
| 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 Loading... |
| 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)) |
| OLD | NEW |