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