| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import re | 5 import re |
| 6 | 6 |
| 7 | 7 |
| 8 class Test(object): | 8 class Test(object): |
| 9 """ | 9 """ |
| 10 Base class for tests that can be retried after deapplying a previously | 10 Base class for tests that can be retried after deapplying a previously |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 api.chromium.runtest( | 405 api.chromium.runtest( |
| 406 cmd[1] if len(cmd) > 1 else cmd[0], | 406 cmd[1] if len(cmd) > 1 else cmd[0], |
| 407 args=cmd[2:], | 407 args=cmd[2:], |
| 408 name=test_name, | 408 name=test_name, |
| 409 annotate=annotate, | 409 annotate=annotate, |
| 410 python_mode=True, | 410 python_mode=True, |
| 411 results_url='https://chromeperf.appspot.com', | 411 results_url='https://chromeperf.appspot.com', |
| 412 perf_dashboard_id=test.get('perf_dashboard_id', test_name), | 412 perf_dashboard_id=test.get('perf_dashboard_id', test_name), |
| 413 perf_id=self.perf_id, | 413 perf_id=self.perf_id, |
| 414 test_type=test.get('perf_dashboard_id', test_name), | 414 test_type=test.get('perf_dashboard_id', test_name), |
| 415 xvfb=True) | 415 xvfb=True, |
| 416 chartjson_file=True) |
| 416 except api.step.StepFailure as f: | 417 except api.step.StepFailure as f: |
| 417 exception = f | 418 exception = f |
| 418 if exception: | 419 if exception: |
| 419 raise exception | 420 raise exception |
| 420 | 421 |
| 421 @staticmethod | 422 @staticmethod |
| 422 def compile_targets(_): | 423 def compile_targets(_): |
| 423 return [] | 424 return [] |
| 424 | 425 |
| 425 | 426 |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 GTestTest('crypto_unittests'), | 1090 GTestTest('crypto_unittests'), |
| 1090 GTestTest('gfx_unittests'), | 1091 GTestTest('gfx_unittests'), |
| 1091 GTestTest('url_unittests'), | 1092 GTestTest('url_unittests'), |
| 1092 GTestTest('content_unittests'), | 1093 GTestTest('content_unittests'), |
| 1093 GTestTest('net_unittests'), | 1094 GTestTest('net_unittests'), |
| 1094 GTestTest('ui_base_unittests'), | 1095 GTestTest('ui_base_unittests'), |
| 1095 GTestTest('ui_ios_unittests'), | 1096 GTestTest('ui_ios_unittests'), |
| 1096 GTestTest('sync_unit_tests'), | 1097 GTestTest('sync_unit_tests'), |
| 1097 GTestTest('sql_unittests'), | 1098 GTestTest('sql_unittests'), |
| 1098 ] | 1099 ] |
| OLD | NEW |