OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 | 9 |
10 # These modules come from scripts, which must be in the PYTHONPATH. | 10 # These modules come from scripts, which must be in the PYTHONPATH. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 slave_type='Trybot', | 144 slave_type='Trybot', |
145 options=default_options, | 145 options=default_options, |
146 tests=baremetal_win_and_mac_tests, | 146 tests=baremetal_win_and_mac_tests, |
147 factory_properties={ | 147 factory_properties={ |
148 'custom_cmd_line_tests': ['vie_auto_test', | 148 'custom_cmd_line_tests': ['vie_auto_test', |
149 'voe_auto_test'], | 149 'voe_auto_test'], |
150 }), | 150 }), |
151 'slavebuilddir': 'win', | 151 'slavebuilddir': 'win', |
152 } | 152 } |
153 | 153 |
| 154 |
| 155 b_win_asan = { |
| 156 'name': 'win_asan', |
| 157 'factory': win().WebRTCFactory( |
| 158 target='Release', |
| 159 slave_type='Trybot', |
| 160 tests=tests, |
| 161 factory_properties={ |
| 162 'asan': True, |
| 163 'gclient_env': { |
| 164 'GYP_DEFINES': ('syzyasan=1 win_z7=1 chromium_win_pch=0 ' |
| 165 'component=static_library'), |
| 166 'GYP_USE_SEPARATE_MSPDBSRV': '1', |
| 167 }, |
| 168 }), |
| 169 } |
| 170 |
154 # Mac. | 171 # Mac. |
155 b_mac = { | 172 b_mac = { |
156 'name': 'mac', | 173 'name': 'mac', |
157 'factory': mac().WebRTCFactory( | 174 'factory': mac().WebRTCFactory( |
158 target='Debug', | 175 target='Debug', |
159 slave_type='Trybot', | 176 slave_type='Trybot', |
160 options=clang_options, | 177 options=clang_options, |
161 tests=tests), | 178 tests=tests), |
162 'slavebuilddir': 'mac32', | 179 'slavebuilddir': 'mac32', |
163 } | 180 } |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 target='Release', | 317 target='Release', |
301 slave_type='Trybot', | 318 slave_type='Trybot', |
302 options=default_options, | 319 options=default_options, |
303 tests=['tsan_' + test for test in tests], | 320 tests=['tsan_' + test for test in tests], |
304 factory_properties={ | 321 factory_properties={ |
305 'needs_valgrind': True, | 322 'needs_valgrind': True, |
306 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, | 323 'gclient_env': {'GYP_DEFINES': 'build_for_tool=memcheck'}, |
307 }), | 324 }), |
308 } | 325 } |
309 | 326 |
| 327 b_linux_tsan2 = { |
| 328 'name': 'linux_tsan2', |
| 329 'factory': linux().WebRTCFactory( |
| 330 target='Release', |
| 331 slave_type='Trybot', |
| 332 options=clang_options, |
| 333 tests=tests, |
| 334 factory_properties={ |
| 335 'tsan': True, |
| 336 'tsan_suppressions_file': |
| 337 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', |
| 338 'gclient_env': { |
| 339 'GYP_DEFINES': ('tsan=1 release_extra_cflags=-g ' |
| 340 'use_allocator=none'), |
| 341 }, |
| 342 }), |
| 343 } |
| 344 |
310 b_linux_asan = { | 345 b_linux_asan = { |
311 'name': 'linux_asan', | 346 'name': 'linux_asan', |
312 'factory': linux().WebRTCFactory( | 347 'factory': linux().WebRTCFactory( |
313 target='Release', | 348 target='Release', |
314 slave_type='Trybot', | 349 slave_type='Trybot', |
315 options=clang_options, | 350 options=clang_options, |
316 tests=tests, | 351 tests=tests, |
317 factory_properties={ | 352 factory_properties={ |
318 'asan': True, | 353 'asan': True, |
319 'sharded_tests': tests, | 354 'sharded_tests': tests, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 'TARGET_PLATFORM': 'android', | 419 'TARGET_PLATFORM': 'android', |
385 }), | 420 }), |
386 'slavebuilddir': 'android_apk', | 421 'slavebuilddir': 'android_apk', |
387 } | 422 } |
388 | 423 |
389 c['builders'] = [ | 424 c['builders'] = [ |
390 b_win, | 425 b_win, |
391 b_win_rel, | 426 b_win_rel, |
392 b_win_x64_rel, | 427 b_win_x64_rel, |
393 b_win_baremetal, | 428 b_win_baremetal, |
| 429 b_win_asan, |
394 b_mac, | 430 b_mac, |
395 b_mac_rel, | 431 b_mac_rel, |
396 b_mac_x64_rel, | 432 b_mac_x64_rel, |
397 b_mac_baremetal, | 433 b_mac_baremetal, |
398 b_ios, | 434 b_ios, |
399 b_ios_rel, | 435 b_ios_rel, |
400 b_mac_asan, | 436 b_mac_asan, |
401 b_linux, | 437 b_linux, |
402 b_linux_rel, | 438 b_linux_rel, |
403 b_linux_baremetal, | 439 b_linux_baremetal, |
404 b_linux_memcheck, | 440 b_linux_memcheck, |
405 b_linux_tsan, | 441 b_linux_tsan, |
| 442 b_linux_tsan2, |
406 b_linux_asan, | 443 b_linux_asan, |
407 b_android, | 444 b_android, |
408 b_android_rel, | 445 b_android_rel, |
409 b_android_clang, | 446 b_android_clang, |
410 b_android_apk, | 447 b_android_apk, |
411 b_android_apk_rel, | 448 b_android_apk_rel, |
412 ] | 449 ] |
413 | 450 |
414 # Slaves are loaded from slaves.cfg. | 451 # Slaves are loaded from slaves.cfg. |
415 slaves = slaves_list.SlavesList('slaves.cfg', 'WebRTCTryServer') | 452 slaves = slaves_list.SlavesList('slaves.cfg', 'WebRTCTryServer') |
(...skipping 15 matching lines...) Expand all Loading... |
431 # Make sure everything works together. | 468 # Make sure everything works together. |
432 master_utils.VerifySetup(c, slaves) | 469 master_utils.VerifySetup(c, slaves) |
433 | 470 |
434 ####### SCHEDULERS | 471 ####### SCHEDULERS |
435 | 472 |
436 pools = BuildersPools('webrtc') | 473 pools = BuildersPools('webrtc') |
437 pools['webrtc'].append('win') | 474 pools['webrtc'].append('win') |
438 pools['webrtc'].append('win_rel') | 475 pools['webrtc'].append('win_rel') |
439 pools['webrtc'].append('win_x64_rel') | 476 pools['webrtc'].append('win_x64_rel') |
440 pools['webrtc'].append('win_baremetal') | 477 pools['webrtc'].append('win_baremetal') |
| 478 pools['webrtc'].append('win_asan') |
441 pools['webrtc'].append('mac') | 479 pools['webrtc'].append('mac') |
442 pools['webrtc'].append('mac_rel') | 480 pools['webrtc'].append('mac_rel') |
443 pools['webrtc'].append('mac_x64_rel') | 481 pools['webrtc'].append('mac_x64_rel') |
444 pools['webrtc'].append('mac_baremetal') | 482 pools['webrtc'].append('mac_baremetal') |
445 pools['webrtc'].append('ios') | 483 pools['webrtc'].append('ios') |
446 pools['webrtc'].append('ios_rel') | 484 pools['webrtc'].append('ios_rel') |
447 pools['webrtc'].append('mac_asan') | 485 pools['webrtc'].append('mac_asan') |
448 pools['webrtc'].append('linux') | 486 pools['webrtc'].append('linux') |
449 pools['webrtc'].append('linux_rel') | 487 pools['webrtc'].append('linux_rel') |
450 pools['webrtc'].append('linux_baremetal') | 488 pools['webrtc'].append('linux_baremetal') |
451 pools['webrtc'].append('linux_memcheck') | 489 pools['webrtc'].append('linux_memcheck') |
452 pools['webrtc'].append('linux_tsan') | 490 pools['webrtc'].append('linux_tsan') |
| 491 pools['webrtc'].append('linux_tsan2') |
453 pools['webrtc'].append('linux_asan') | 492 pools['webrtc'].append('linux_asan') |
454 pools['webrtc'].append('android') | 493 pools['webrtc'].append('android') |
455 pools['webrtc'].append('android_rel') | 494 pools['webrtc'].append('android_rel') |
456 pools['webrtc'].append('android_clang') | 495 pools['webrtc'].append('android_clang') |
457 pools['webrtc'].append('android_apk') | 496 pools['webrtc'].append('android_apk') |
458 pools['webrtc'].append('android_apk_rel') | 497 pools['webrtc'].append('android_apk_rel') |
459 | 498 |
460 # Configure the Schedulers; | 499 # Configure the Schedulers; |
461 c['schedulers'] = [] | 500 c['schedulers'] = [] |
462 | 501 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 # Must be at least 2x the number of slaves. | 559 # Must be at least 2x the number of slaves. |
521 c['eventHorizon'] = 100 | 560 c['eventHorizon'] = 100 |
522 # Must be at least 2x the number of on-going builds. | 561 # Must be at least 2x the number of on-going builds. |
523 c['buildCacheSize'] = 100 | 562 c['buildCacheSize'] = 100 |
524 | 563 |
525 ####### PROJECT IDENTITY | 564 ####### PROJECT IDENTITY |
526 | 565 |
527 # The 'projectURL' string will be used to provide a link | 566 # The 'projectURL' string will be used to provide a link |
528 # from buildbot HTML pages to your project's home page. | 567 # from buildbot HTML pages to your project's home page. |
529 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 568 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
OLD | NEW |