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

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: 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
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698