| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from recipe_engine import recipe_api | 7 from recipe_engine import recipe_api |
| 8 from recipe_engine import util as recipe_util | 8 from recipe_engine import util as recipe_util |
| 9 | 9 |
| 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder): | 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder): |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 full_args.append('--perf-dashboard-id=%s' % perf_dashboard_id) | 305 full_args.append('--perf-dashboard-id=%s' % perf_dashboard_id) |
| 306 if perf_id: | 306 if perf_id: |
| 307 full_args.append('--perf-id=%s' % perf_id) | 307 full_args.append('--perf-id=%s' % perf_id) |
| 308 if perf_config: | 308 if perf_config: |
| 309 full_args.extend(['--perf-config', perf_config]) | 309 full_args.extend(['--perf-config', perf_config]) |
| 310 # This replaces the step_name that used to be sent via factory_properties. | 310 # This replaces the step_name that used to be sent via factory_properties. |
| 311 if test_type: | 311 if test_type: |
| 312 full_args.append('--test-type=%s' % test_type) | 312 full_args.append('--test-type=%s' % test_type) |
| 313 step_name = name or t_name | 313 step_name = name or t_name |
| 314 full_args.append('--step-name=%s' % step_name) | 314 full_args.append('--step-name=%s' % step_name) |
| 315 if chartjson_file: | 315 if chartjson_file and not 'step_test_data' in kwargs: |
| 316 full_args.append('--chartjson-file') | 316 full_args.append('--chartjson-file') |
| 317 full_args.append(self.m.json.output()) | 317 full_args.append(self.m.json.output()) |
| 318 kwargs['step_test_data'] = lambda: self.m.json.test_api.output([]) | 318 kwargs['step_test_data'] = lambda: self.m.json.test_api.output([]) |
| 319 if test_launcher_summary_output: | 319 if test_launcher_summary_output: |
| 320 full_args.extend([ | 320 full_args.extend([ |
| 321 '--test-launcher-summary-output', | 321 '--test-launcher-summary-output', |
| 322 test_launcher_summary_output | 322 test_launcher_summary_output |
| 323 ]) | 323 ]) |
| 324 if flakiness_dash: | 324 if flakiness_dash: |
| 325 full_args.extend([ | 325 full_args.extend([ |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 })) | 794 })) |
| 795 | 795 |
| 796 def get_annotate_by_test_name(self, test_name): | 796 def get_annotate_by_test_name(self, test_name): |
| 797 return 'graphing' | 797 return 'graphing' |
| 798 | 798 |
| 799 def download_lto_plugin(self): | 799 def download_lto_plugin(self): |
| 800 return self.m.python( | 800 return self.m.python( |
| 801 name='download LTO plugin', | 801 name='download LTO plugin', |
| 802 script=self.m.path['checkout'].join( | 802 script=self.m.path['checkout'].join( |
| 803 'build', 'download_gold_plugin.py')) | 803 'build', 'download_gold_plugin.py')) |
| OLD | NEW |