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

Side by Side Diff: slave/skia_slave_scripts/upload_bench_results_appengine.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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """ Upload benchmark results to AppEngine.. """ 6 """ Upload benchmark results to AppEngine.. """
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 10
11 import os 11 import os
12 import skia_vars 12 import skia_vars
13 import sys 13 import sys
14 14
15 15
16 class UploadBenchResultsToAppengine(BuildStep): 16 class UploadBenchResultsToAppengine(BuildStep):
17 def __init__(self, timeout=1800, no_output_timeout=1200, **kwargs): 17 def __init__(self, timeout=1800, no_output_timeout=1200, **kwargs):
18 super(UploadBenchResultsToAppengine, self).__init__( 18 super(UploadBenchResultsToAppengine, self).__init__(
19 timeout=timeout, 19 timeout=timeout,
(...skipping 17 matching lines...) Expand all
37 37
38 shell_utils.run(cmd) 38 shell_utils.run(cmd)
39 39
40 def _Run(self): 40 def _Run(self):
41 if self._perf_data_dir: 41 if self._perf_data_dir:
42 self._RunInternal('25th') 42 self._RunInternal('25th')
43 43
44 44
45 if '__main__' == __name__: 45 if '__main__' == __name__:
46 sys.exit(BuildStep.RunBuildStep(UploadBenchResultsToAppengine)) 46 sys.exit(BuildStep.RunBuildStep(UploadBenchResultsToAppengine))
OLDNEW
« no previous file with comments | « slave/skia_slave_scripts/update_skp_version.py ('k') | slave/skia_slave_scripts/upload_bench_results_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698