| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Set of utilities to add commands to a buildbot factory. | 6 """Set of utilities to add commands to a buildbot factory. |
| 7 | 7 |
| 8 This is based on commands.py and adds chromium-specific commands.""" | 8 This is based on commands.py and adds chromium-specific commands.""" |
| 9 | 9 |
| 10 import os | 10 import os |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 '--target', self._target, | 800 '--target', self._target, |
| 801 '--build-type', 'v8', | 801 '--build-type', 'v8', |
| 802 '-o', webkit_result_dir, | 802 '-o', webkit_result_dir, |
| 803 '--build-dir', self._build_dir, | 803 '--build-dir', self._build_dir, |
| 804 '--build-number', WithProperties("%(buildnumber)s"), | 804 '--build-number', WithProperties("%(buildnumber)s"), |
| 805 '--builder-name', WithProperties("%(buildername)s"),] | 805 '--builder-name', WithProperties("%(buildername)s"),] |
| 806 | 806 |
| 807 if layout_part: | 807 if layout_part: |
| 808 cmd.extend(['--run-part', layout_part]) | 808 cmd.extend(['--run-part', layout_part]) |
| 809 | 809 |
| 810 if self._target_platform == 'darwin': | |
| 811 # Only run pixel tests on windows and linux until we're ready for them on | |
| 812 # mac. | |
| 813 cmd.append('--no-pixel-tests') | |
| 814 if with_pageheap: | 810 if with_pageheap: |
| 815 cmd.append('--enable-pageheap') | 811 cmd.append('--enable-pageheap') |
| 816 | 812 |
| 817 self.AddTestStep(webkit_test_command.WebKitCommand, | 813 self.AddTestStep(webkit_test_command.WebKitCommand, |
| 818 test_name='webkit_tests', | 814 test_name='webkit_tests', |
| 819 test_description=pageheap_description, | 815 test_description=pageheap_description, |
| 820 test_command=cmd) | 816 test_command=cmd) |
| 821 | 817 |
| 822 if archive_results: | 818 if archive_results: |
| 823 url = '%s/%s/%s' % (self._archive_url, 'layout_test_results', | 819 url = '%s/%s/%s' % (self._archive_url, 'layout_test_results', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 | 863 |
| 868 url = '%s/%s/%s' % (self._archive_url, 'coverage', perf_subdir) | 864 url = '%s/%s/%s' % (self._archive_url, 'coverage', perf_subdir) |
| 869 text = 'view coverage' | 865 text = 'view coverage' |
| 870 cmd_archive = [self._python, self._archive_coverage, | 866 cmd_archive = [self._python, self._archive_coverage, |
| 871 '--target', self._target, | 867 '--target', self._target, |
| 872 '--build-dir', self._build_dir, | 868 '--build-dir', self._build_dir, |
| 873 '--perf-subdir', perf_subdir] | 869 '--perf-subdir', perf_subdir] |
| 874 | 870 |
| 875 self.AddArchiveStep(data_description='coverage', base_url=url, | 871 self.AddArchiveStep(data_description='coverage', base_url=url, |
| 876 link_text=text, command=cmd_archive) | 872 link_text=text, command=cmd_archive) |
| OLD | NEW |