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

Side by Side Diff: slave/skia_slave_scripts/check_for_regressions.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 """ Check for regressions in bench data. """ 6 """ Check for regressions in bench data. """
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 builder_name_schema 11 import builder_name_schema
12 import os 12 import os
13 import sys 13 import sys
14 14
15 15
16 class CheckForRegressions(BuildStep): 16 class CheckForRegressions(BuildStep):
17 def __init__(self, timeout=600, no_output_timeout=600, **kwargs): 17 def __init__(self, timeout=600, no_output_timeout=600, **kwargs):
18 super(CheckForRegressions, self).__init__( 18 super(CheckForRegressions, self).__init__(
19 timeout=timeout, 19 timeout=timeout,
(...skipping 21 matching lines...) Expand all
41 41
42 shell_utils.run(cmd) 42 shell_utils.run(cmd)
43 43
44 def _Run(self): 44 def _Run(self):
45 if self._perf_data_dir: 45 if self._perf_data_dir:
46 self._RunInternal('25th') 46 self._RunInternal('25th')
47 47
48 48
49 if '__main__' == __name__: 49 if '__main__' == __name__:
50 sys.exit(BuildStep.RunBuildStep(CheckForRegressions)) 50 sys.exit(BuildStep.RunBuildStep(CheckForRegressions))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698