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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
282 if R('safe_browsing'): f.AddBasicGTestTestStep( | 282 if R('safe_browsing'): f.AddBasicGTestTestStep( |
283 'safe_browsing_tests', fp, | 283 'safe_browsing_tests', fp, |
284 arg_list=['--ui-test-action-max-timeout=40000']) | 284 arg_list=['--ui-test-action-max-timeout=40000']) |
285 if R('sandbox'): | 285 if R('sandbox'): |
286 f.AddBasicGTestTestStep('sbox_unittests', fp) | 286 f.AddBasicGTestTestStep('sbox_unittests', fp) |
287 f.AddBasicGTestTestStep('sbox_integration_tests', fp) | 287 f.AddBasicGTestTestStep('sbox_integration_tests', fp) |
288 f.AddBasicGTestTestStep('sbox_validation_tests', fp) | 288 f.AddBasicGTestTestStep('sbox_validation_tests', fp) |
289 | 289 |
290 if R('views'): f.AddBasicGTestTestStep('views_unittests', fp) | 290 if R('views'): f.AddBasicGTestTestStep('views_unittests', fp) |
291 if R('aura'): f.AddBasicGTestTestStep('aura_unittests', fp) | 291 if R('aura'): f.AddBasicGTestTestStep('aura_unittests', fp) |
292 if R('aura_shell'): | 292 if R('aura_shell') or R('ash'): |
Marc-Antoine Ruel (Google)
2012/03/06 23:38:03
??
Peter Mayo
2012/03/07 16:22:48
leakage from http://codereview.chromium.org/919701
| |
293 f.AddBasicGTestTestStep('aura_shell_unittests', fp) | 293 f.AddBasicGTestTestStep('aura_shell_unittests', fp) |
294 if R('compositor'): | 294 if R('compositor'): |
295 f.AddBasicGTestTestStep('compositor_unittests', fp) | 295 f.AddBasicGTestTestStep('compositor_unittests', fp) |
296 | 296 |
297 # Medium-sized tests (unit and browser): | 297 # Medium-sized tests (unit and browser): |
298 if R('unit'): f.AddChromeUnitTests(fp) | 298 if R('unit'): f.AddChromeUnitTests(fp) |
299 if R('browser_tests'): f.AddBrowserTests(fp) | 299 if R('browser_tests'): f.AddBrowserTests(fp) |
300 | 300 |
301 # Big, UI tests: | 301 # Big, UI tests: |
302 if R('ui'): f.AddUITests(fp) | 302 if R('ui'): f.AddUITests(fp) |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
355 f.AddNewTabUITests(fp) | 355 f.AddNewTabUITests(fp) |
356 if R('sizes'): f.AddSizesTests(fp) | 356 if R('sizes'): f.AddSizesTests(fp) |
357 if R('sync'): f.AddSyncPerfTests(fp) | 357 if R('sync'): f.AddSyncPerfTests(fp) |
358 if R('mach_ports'): f.AddMachPortsTests(fp) | 358 if R('mach_ports'): f.AddMachPortsTests(fp) |
359 | 359 |
360 if R('sync_integration'): | 360 if R('sync_integration'): |
361 f.AddSyncIntegrationTests(fp) | 361 f.AddSyncIntegrationTests(fp) |
362 | 362 |
363 # GPU tests: | 363 # GPU tests: |
364 if R('gpu_tests'): f.AddGpuTests(fp) | 364 if R('gpu_tests'): f.AddGpuTests(fp) |
365 if R('soft_gpu_tests'): f.AddSoftGpuTests(fp) | |
365 | 366 |
366 # ChromeFrame tests: | 367 # ChromeFrame tests: |
367 if R('chrome_frame_perftests'): | 368 if R('chrome_frame_perftests'): |
368 f.AddChromeFramePerfTests(fp) | 369 f.AddChromeFramePerfTests(fp) |
369 if R('chrome_frame'): | 370 if R('chrome_frame'): |
370 # Add all major CF tests. | 371 # Add all major CF tests. |
371 f.AddBasicGTestTestStep('chrome_frame_net_tests', fp) | 372 f.AddBasicGTestTestStep('chrome_frame_net_tests', fp) |
372 f.AddBasicGTestTestStep('chrome_frame_unittests', fp) | 373 f.AddBasicGTestTestStep('chrome_frame_unittests', fp) |
373 f.AddBasicGTestTestStep('chrome_frame_tests', fp) | 374 f.AddBasicGTestTestStep('chrome_frame_tests', fp) |
374 else: | 375 else: |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
879 if 'cros_deps' not in [s.name for s in self._solutions]: | 880 if 'cros_deps' not in [s.name for s in self._solutions]: |
880 self._solutions.append(gclient_factory.GClientSolution( | 881 self._solutions.append(gclient_factory.GClientSolution( |
881 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) | 882 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) |
882 if 'asan.DEPS' not in [s.name for s in self._solutions]: | 883 if 'asan.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 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', | 885 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', |
885 'asan.DEPS')) | 886 'asan.DEPS')) |
886 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, | 887 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, |
887 options, compile_timeout, build_url, project, | 888 options, compile_timeout, build_url, project, |
888 factory_properties) | 889 factory_properties) |
OLD | NEW |