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

Side by Side Diff: masters/master.client.webrtc/master_mac_cfg.py

Issue 17153009: Add Large Tests bots for WebRTC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 6 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 from master import master_config 5 from master import master_config
6 from master.factory import webrtc_factory 6 from master.factory import webrtc_factory
7 7
8 defaults = {} 8 defaults = {}
9 9
10 10
11 def ConfigureBuilders(c, svn_url, branch, custom_deps_list=None): 11 def ConfigureBuilders(c, svn_url, branch, custom_deps_list=None):
12 def mac(): 12 def mac():
13 return webrtc_factory.WebRTCFactory('src/xcodebuild', 'darwin', svn_url, 13 return webrtc_factory.WebRTCFactory('src/out', 'darwin', svn_url,
14 branch, custom_deps_list) 14 branch, custom_deps_list)
15 def macIos(): 15 def macIos():
16 return webrtc_factory.WebRTCFactory('', 'darwin', svn_url, branch, 16 return webrtc_factory.WebRTCFactory('', 'darwin', svn_url, branch,
17 nohooks_on_update=True) 17 nohooks_on_update=True)
18 18
19 helper = master_config.Helper(defaults) 19 helper = master_config.Helper(defaults)
20 B = helper.Builder 20 B = helper.Builder
21 F = helper.Factory 21 F = helper.Factory
22 S = helper.Scheduler 22 S = helper.Scheduler
23 23
24 scheduler = 'webrtc_mac_scheduler' 24 scheduler = 'webrtc_mac_scheduler'
25 S(scheduler, branch=branch, treeStableTimer=0) 25 S(scheduler, branch=branch, treeStableTimer=0)
26 26
27 tests = [ 27 tests = [
28 'audio_decoder_unittests', 28 'audio_decoder_unittests',
29 'common_audio_unittests', 29 'common_audio_unittests',
30 'common_video_unittests', 30 'common_video_unittests',
31 'metrics_unittests', 31 'metrics_unittests',
32 'modules_integrationtests', 32 'modules_integrationtests',
33 'modules_unittests', 33 'modules_unittests',
34 'neteq_unittests', 34 'neteq_unittests',
35 'system_wrappers_unittests', 35 'system_wrappers_unittests',
36 'test_support_unittests', 36 'test_support_unittests',
37 'tools_unittests', 37 'tools_unittests',
38 'video_engine_core_unittests', 38 'video_engine_core_unittests',
39 'voice_engine_unittests', 39 'voice_engine_unittests',
40 ] 40 ]
41 41
42 options = ['--', '-project', '../webrtc.xcodeproj'] 42 baremetal_tests = [
43 'audio_device_integrationtests',
44 'video_capture_integrationtests',
45 'vie_auto_test',
46 'voe_auto_test',
47 ]
48
49 options = ['--build-tool=ninja']
43 50
44 defaults['category'] = 'mac' 51 defaults['category'] = 'mac'
45 52
46 B('Mac32 Debug', 'mac_debug_factory', scheduler=scheduler) 53 B('Mac32 Debug', 'mac_debug_factory', scheduler=scheduler)
47 F('mac_debug_factory', mac().WebRTCFactory( 54 F('mac_debug_factory', mac().WebRTCFactory(
48 target='Debug', 55 target='Debug',
49 options=options, 56 options=options,
50 tests=tests)) 57 tests=tests))
51 58
52 B('Mac32 Release', 'mac_release_factory', scheduler=scheduler) 59 B('Mac32 Release', 'mac_release_factory', scheduler=scheduler)
(...skipping 24 matching lines...) Expand all
77 F('mac_asan_factory', mac().WebRTCFactory( 84 F('mac_asan_factory', mac().WebRTCFactory(
78 target='Release', 85 target='Release',
79 options=options, 86 options=options,
80 tests=tests, 87 tests=tests,
81 factory_properties={'asan': True, 88 factory_properties={'asan': True,
82 'gclient_env': 89 'gclient_env':
83 {'GYP_DEFINES': ('asan=1' 90 {'GYP_DEFINES': ('asan=1'
84 ' release_extra_cflags=-g ' 91 ' release_extra_cflags=-g '
85 ' linux_use_tcmalloc=0 ')}})) 92 ' linux_use_tcmalloc=0 ')}}))
86 93
94 B('Mac32 Release [large tests]', 'mac_largetests_factory',
95 scheduler=scheduler)
96 F('mac_largetests_factory', mac().WebRTCFactory(
97 target='Release',
98 options=options,
99 tests=baremetal_tests,
100 factory_properties={
101 'show_perf_results': True,
102 'expectations': True,
103 'perf_id': 'webrtc-mac-large-tests',
104 'perf_measuring_tests': ['vie_auto_test'],
105 'custom_cmd_line_tests': ['vie_auto_test',
106 'voe_auto_test'],
107 }))
108
87 # iOS. 109 # iOS.
88 B('iOS Device', 'ios_release_factory', scheduler=scheduler) 110 B('iOS Device', 'ios_release_factory', scheduler=scheduler)
89 F('ios_release_factory', macIos().ChromiumAnnotationFactory( 111 F('ios_release_factory', macIos().ChromiumAnnotationFactory(
90 target='Release', 112 target='Release',
91 slave_type='AnnotatedBuilderTester', 113 slave_type='AnnotatedBuilderTester',
92 annotation_script='src/webrtc/build/ios-webrtc.sh')) 114 annotation_script='src/webrtc/build/ios-webrtc.sh'))
93 115
94 helper.Update(c) 116 helper.Update(c)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698