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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 | 603 |
604 def cleanup_temp(self): | 604 def cleanup_temp(self): |
605 self.m.python( | 605 self.m.python( |
606 'cleanup_temp', | 606 'cleanup_temp', |
607 self.package_repo_resource('scripts', 'tools', 'runit.py'), | 607 self.package_repo_resource('scripts', 'tools', 'runit.py'), |
608 ['--show-path', | 608 ['--show-path', |
609 'python', | 609 'python', |
610 self.package_repo_resource('scripts', 'slave', 'cleanup_temp.py')], | 610 self.package_repo_resource('scripts', 'slave', 'cleanup_temp.py')], |
611 infra_step=True) | 611 infra_step=True) |
612 | 612 |
| 613 def crash_handler(self): |
| 614 self.m.python( |
| 615 'start_crash_service', |
| 616 self.package_repo_resource( |
| 617 'scripts', 'slave', 'chromium', 'run_crash_handler.py'), |
| 618 ['--target', self.c.build_config_fs], |
| 619 infra_step=True) |
| 620 |
613 def process_dumps(self, **kwargs): | 621 def process_dumps(self, **kwargs): |
614 # Dumps are especially useful when other steps (e.g. tests) are failing. | 622 # Dumps are especially useful when other steps (e.g. tests) are failing. |
615 try: | 623 try: |
616 self.m.python( | 624 self.m.python( |
617 'process_dumps', | 625 'process_dumps', |
618 self.package_repo_resource('scripts', 'slave', 'process_dumps.py'), | 626 self.package_repo_resource('scripts', 'slave', 'process_dumps.py'), |
619 ['--target', self.c.build_config_fs], | 627 ['--target', self.c.build_config_fs], |
620 infra_step=True, | 628 infra_step=True, |
621 **kwargs) | 629 **kwargs) |
622 except self.m.step.InfraFailure: | 630 except self.m.step.InfraFailure: |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 })) | 712 })) |
705 | 713 |
706 def get_annotate_by_test_name(self, test_name): | 714 def get_annotate_by_test_name(self, test_name): |
707 return 'graphing' | 715 return 'graphing' |
708 | 716 |
709 def download_lto_plugin(self): | 717 def download_lto_plugin(self): |
710 return self.m.python( | 718 return self.m.python( |
711 name='download LTO plugin', | 719 name='download LTO plugin', |
712 script=self.m.path['checkout'].join( | 720 script=self.m.path['checkout'].join( |
713 'build', 'download_gold_plugin.py')) | 721 'build', 'download_gold_plugin.py')) |
OLD | NEW |