Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: scripts/master/factory/chromium_factory.py

Issue 9601021: Add testing library to running tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Rebase and add a TODO for the item under discussion Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/chromium_commands.py ('k') | scripts/slave/runtest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 if 'cros_deps' not in [s.name for s in self._solutions]: 875 if 'cros_deps' not in [s.name for s in self._solutions]:
875 self._solutions.append(gclient_factory.GClientSolution( 876 self._solutions.append(gclient_factory.GClientSolution(
876 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) 877 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps'))
877 if 'asan.DEPS' not in [s.name for s in self._solutions]: 878 if 'asan.DEPS' not in [s.name for s in self._solutions]:
878 self._solutions.append(gclient_factory.GClientSolution( 879 self._solutions.append(gclient_factory.GClientSolution(
879 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', 880 'http://src.chromium.org/svn/trunk/deps/asan.DEPS',
880 'asan.DEPS')) 881 'asan.DEPS'))
881 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, 882 return self.ChromiumFactory(target, clobber, tests, mode, slave_type,
882 options, compile_timeout, build_url, project, 883 options, compile_timeout, build_url, project,
883 factory_properties) 884 factory_properties)
OLDNEW
« no previous file with comments | « scripts/master/factory/chromium_commands.py ('k') | scripts/slave/runtest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698