| 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 import string | 6 import string |
| 7 | 7 |
| 8 | 8 |
| 9 class Test(object): | 9 class Test(object): |
| 10 """ | 10 """ |
| (...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 | 1776 |
| 1777 def failures(self, api, suffix): | 1777 def failures(self, api, suffix): |
| 1778 return self._test_runs[suffix].test_utils.test_results.unexpected_failures | 1778 return self._test_runs[suffix].test_utils.test_results.unexpected_failures |
| 1779 | 1779 |
| 1780 | 1780 |
| 1781 class MiniInstallerTest(PythonBasedTest): # pylint: disable=W0232 | 1781 class MiniInstallerTest(PythonBasedTest): # pylint: disable=W0232 |
| 1782 name = 'test_installer' | 1782 name = 'test_installer' |
| 1783 | 1783 |
| 1784 @staticmethod | 1784 @staticmethod |
| 1785 def compile_targets(_): | 1785 def compile_targets(_): |
| 1786 return ['mini_installer', 'next_version_mini_installer'] | 1786 return ['mini_installer'] |
| 1787 | 1787 |
| 1788 def run_step(self, api, suffix, cmd_args, **kwargs): | 1788 def run_step(self, api, suffix, cmd_args, **kwargs): |
| 1789 test_path = api.path['checkout'].join('chrome', 'test', 'mini_installer') | 1789 test_path = api.path['checkout'].join('chrome', 'test', 'mini_installer') |
| 1790 args = [ | 1790 args = [ |
| 1791 '--build-dir', api.chromium.c.build_dir, | 1791 '--build-dir', api.chromium.c.build_dir, |
| 1792 '--target', api.chromium.c.build_config_fs, | 1792 '--target', api.chromium.c.build_config_fs, |
| 1793 '--force-clean', | 1793 '--force-clean', |
| 1794 '--config', test_path.join('config', 'config.config'), | 1794 '--config', test_path.join('config', 'config.config'), |
| 1795 ] | 1795 ] |
| 1796 args.extend(cmd_args) | 1796 args.extend(cmd_args) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1847 def run(self, api, suffix, test_filter=None): | 1847 def run(self, api, suffix, test_filter=None): |
| 1848 api.chromium_android.coverage_report(upload=False) | 1848 api.chromium_android.coverage_report(upload=False) |
| 1849 api.chromium_android.get_changed_lines_for_revision() | 1849 api.chromium_android.get_changed_lines_for_revision() |
| 1850 api.chromium_android.incremental_coverage_report() | 1850 api.chromium_android.incremental_coverage_report() |
| 1851 | 1851 |
| 1852 | 1852 |
| 1853 GOMA_TESTS = [ | 1853 GOMA_TESTS = [ |
| 1854 GTestTest('base_unittests'), | 1854 GTestTest('base_unittests'), |
| 1855 GTestTest('content_unittests'), | 1855 GTestTest('content_unittests'), |
| 1856 ] | 1856 ] |
| OLD | NEW |