OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Utility class to build the chromium master BuildFactory's. | 5 """Utility class to build the chromium master BuildFactory's. |
6 | 6 |
7 Based on gclient_factory.py and adds chromium-specific steps.""" | 7 Based on gclient_factory.py and adds chromium-specific steps.""" |
8 | 8 |
9 import os | 9 import os |
10 import re | 10 import re |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 f.AddNewTabUITests(fp) | 358 f.AddNewTabUITests(fp) |
359 if R('sizes'): f.AddSizesTests(fp) | 359 if R('sizes'): f.AddSizesTests(fp) |
360 if R('sync'): f.AddSyncPerfTests(fp) | 360 if R('sync'): f.AddSyncPerfTests(fp) |
361 if R('mach_ports'): f.AddMachPortsTests(fp) | 361 if R('mach_ports'): f.AddMachPortsTests(fp) |
362 | 362 |
363 if R('sync_integration'): | 363 if R('sync_integration'): |
364 f.AddSyncIntegrationTests(fp) | 364 f.AddSyncIntegrationTests(fp) |
365 | 365 |
366 # GPU tests: | 366 # GPU tests: |
367 if R('gpu_tests'): f.AddGpuTests(fp) | 367 if R('gpu_tests'): f.AddGpuTests(fp) |
| 368 if R('soft_gpu_tests'): f.AddSoftGpuTests(fp) |
368 | 369 |
369 # ChromeFrame tests: | 370 # ChromeFrame tests: |
370 if R('chrome_frame_perftests'): | 371 if R('chrome_frame_perftests'): |
371 f.AddChromeFramePerfTests(fp) | 372 f.AddChromeFramePerfTests(fp) |
372 if R('chrome_frame'): | 373 if R('chrome_frame'): |
373 # Add all major CF tests. | 374 # Add all major CF tests. |
374 f.AddBasicGTestTestStep('chrome_frame_net_tests', fp) | 375 f.AddBasicGTestTestStep('chrome_frame_net_tests', fp) |
375 f.AddBasicGTestTestStep('chrome_frame_unittests', fp) | 376 f.AddBasicGTestTestStep('chrome_frame_unittests', fp) |
376 f.AddBasicGTestTestStep('chrome_frame_tests', fp) | 377 f.AddBasicGTestTestStep('chrome_frame_tests', fp) |
377 else: | 378 else: |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 if 'cros_deps' not in [s.name for s in self._solutions]: | 883 if 'cros_deps' not in [s.name for s in self._solutions]: |
883 self._solutions.append(gclient_factory.GClientSolution( | 884 self._solutions.append(gclient_factory.GClientSolution( |
884 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) | 885 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) |
885 if 'asan.DEPS' not in [s.name for s in self._solutions]: | 886 if 'asan.DEPS' not in [s.name for s in self._solutions]: |
886 self._solutions.append(gclient_factory.GClientSolution( | 887 self._solutions.append(gclient_factory.GClientSolution( |
887 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', | 888 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', |
888 'asan.DEPS')) | 889 'asan.DEPS')) |
889 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, | 890 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, |
890 options, compile_timeout, build_url, project, | 891 options, compile_timeout, build_url, project, |
891 factory_properties) | 892 factory_properties) |
OLD | NEW |