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=test.get('chartjson_file', False)) |
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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 GTestTest('crypto_unittests'), | 1079 GTestTest('crypto_unittests'), |
1079 GTestTest('gfx_unittests'), | 1080 GTestTest('gfx_unittests'), |
1080 GTestTest('url_unittests'), | 1081 GTestTest('url_unittests'), |
1081 GTestTest('content_unittests'), | 1082 GTestTest('content_unittests'), |
1082 GTestTest('net_unittests'), | 1083 GTestTest('net_unittests'), |
1083 GTestTest('ui_base_unittests'), | 1084 GTestTest('ui_base_unittests'), |
1084 GTestTest('ui_ios_unittests'), | 1085 GTestTest('ui_ios_unittests'), |
1085 GTestTest('sync_unit_tests'), | 1086 GTestTest('sync_unit_tests'), |
1086 GTestTest('sql_unittests'), | 1087 GTestTest('sql_unittests'), |
1087 ] | 1088 ] |
OLD | NEW |