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