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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 full_args.append('--perf-dashboard-id=%s' % perf_dashboard_id) | 315 full_args.append('--perf-dashboard-id=%s' % perf_dashboard_id) |
316 if perf_id: | 316 if perf_id: |
317 full_args.append('--perf-id=%s' % perf_id) | 317 full_args.append('--perf-id=%s' % perf_id) |
318 if perf_config: | 318 if perf_config: |
319 full_args.extend(['--perf-config', perf_config]) | 319 full_args.extend(['--perf-config', perf_config]) |
320 # This replaces the step_name that used to be sent via factory_properties. | 320 # This replaces the step_name that used to be sent via factory_properties. |
321 if test_type: | 321 if test_type: |
322 full_args.append('--test-type=%s' % test_type) | 322 full_args.append('--test-type=%s' % test_type) |
323 step_name = name or t_name | 323 step_name = name or t_name |
324 full_args.append('--step-name=%s' % step_name) | 324 full_args.append('--step-name=%s' % step_name) |
325 if chartjson_file: | 325 if chartjson_file and not 'step_test_data' in kwargs: |
326 full_args.append('--chartjson-file') | 326 full_args.append('--chartjson-file') |
327 full_args.append(self.m.json.output()) | 327 full_args.append(self.m.json.output()) |
328 kwargs['step_test_data'] = lambda: self.m.json.test_api.output([]) | 328 kwargs['step_test_data'] = lambda: self.m.json.test_api.output([]) |
329 if test_launcher_summary_output: | 329 if test_launcher_summary_output: |
330 full_args.extend([ | 330 full_args.extend([ |
331 '--test-launcher-summary-output', | 331 '--test-launcher-summary-output', |
332 test_launcher_summary_output | 332 test_launcher_summary_output |
333 ]) | 333 ]) |
334 if flakiness_dash: | 334 if flakiness_dash: |
335 full_args.extend([ | 335 full_args.extend([ |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 })) | 804 })) |
805 | 805 |
806 def get_annotate_by_test_name(self, test_name): | 806 def get_annotate_by_test_name(self, test_name): |
807 return 'graphing' | 807 return 'graphing' |
808 | 808 |
809 def download_lto_plugin(self): | 809 def download_lto_plugin(self): |
810 return self.m.python( | 810 return self.m.python( |
811 name='download LTO plugin', | 811 name='download LTO plugin', |
812 script=self.m.path['checkout'].join( | 812 script=self.m.path['checkout'].join( |
813 'build', 'download_gold_plugin.py')) | 813 'build', 'download_gold_plugin.py')) |
OLD | NEW |