Chromium Code Reviews| 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 datetime | 5 import datetime |
| 6 import re | 6 import re |
| 7 import string | 7 import string |
| 8 | 8 |
| 9 | 9 |
| 10 class Test(object): | 10 class Test(object): |
| (...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1636 | 1636 |
| 1637 def failures(self, api, suffix): | 1637 def failures(self, api, suffix): |
| 1638 return self._test_runs[suffix].test_utils.test_results.unexpected_failures | 1638 return self._test_runs[suffix].test_utils.test_results.unexpected_failures |
| 1639 | 1639 |
| 1640 | 1640 |
| 1641 class MiniInstallerTest(PythonBasedTest): # pylint: disable=W0232 | 1641 class MiniInstallerTest(PythonBasedTest): # pylint: disable=W0232 |
| 1642 name = 'test_installer' | 1642 name = 'test_installer' |
| 1643 | 1643 |
| 1644 @staticmethod | 1644 @staticmethod |
| 1645 def compile_targets(_): | 1645 def compile_targets(_): |
| 1646 return ['mini_installer'] | 1646 return ['mini_installer', 'next_version_mini_installer'] |
|
Dirk Pranke
2016/07/26 18:47:51
Didn't we try this once before? You can't change t
fdoray
2016/07/26 19:00:59
Target was added before the M52 branch https://chr
| |
| 1647 | 1647 |
| 1648 def run_step(self, api, suffix, cmd_args, **kwargs): | 1648 def run_step(self, api, suffix, cmd_args, **kwargs): |
| 1649 test_path = api.path['checkout'].join('chrome', 'test', 'mini_installer') | 1649 test_path = api.path['checkout'].join('chrome', 'test', 'mini_installer') |
| 1650 args = [ | 1650 args = [ |
| 1651 '--build-dir', api.chromium.c.build_dir, | 1651 '--build-dir', api.chromium.c.build_dir, |
| 1652 '--target', api.chromium.c.build_config_fs, | 1652 '--target', api.chromium.c.build_config_fs, |
| 1653 '--force-clean', | 1653 '--force-clean', |
| 1654 '--config', test_path.join('config', 'config.config'), | 1654 '--config', test_path.join('config', 'config.config'), |
| 1655 ] | 1655 ] |
| 1656 args.extend(cmd_args) | 1656 args.extend(cmd_args) |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1744 args=args) | 1744 args=args) |
| 1745 api.gsutil.upload( | 1745 api.gsutil.upload( |
| 1746 temp_output_dir.join( | 1746 temp_output_dir.join( |
| 1747 '%s-android-chrome.json' % timestamp_string), | 1747 '%s-android-chrome.json' % timestamp_string), |
| 1748 'chromium-annotated-tests', 'android') | 1748 'chromium-annotated-tests', 'android') |
| 1749 | 1749 |
| 1750 GOMA_TESTS = [ | 1750 GOMA_TESTS = [ |
| 1751 GTestTest('base_unittests'), | 1751 GTestTest('base_unittests'), |
| 1752 GTestTest('content_unittests'), | 1752 GTestTest('content_unittests'), |
| 1753 ] | 1753 ] |
| OLD | NEW |