OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 buildbot.changes import svnpoller | 5 from buildbot.changes import svnpoller |
6 from buildbot.scheduler import Dependent | 6 from buildbot.scheduler import Dependent |
7 from buildbot.scheduler import Scheduler | 7 from buildbot.scheduler import Scheduler |
8 | 8 |
9 # These modules come from scripts/master, which must be in the PYTHONPATH. | 9 # These modules come from scripts/master, which must be in the PYTHONPATH. |
10 from master import build_utils | 10 from master import build_utils |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
177 ], | 177 ], |
178 factory_properties={ | 178 factory_properties={ |
179 'needs_valgrind' : True, | 179 'needs_valgrind' : True, |
180 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 180 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
181 | 181 |
182 f_chromium_rel_linux_valgrind_tests_2 = F_LINUX( | 182 f_chromium_rel_linux_valgrind_tests_2 = F_LINUX( |
183 target='Release', | 183 target='Release', |
184 slave_type='Tester', | 184 slave_type='Tester', |
185 build_url=chromium_linux_valgrind_archive, | 185 build_url=chromium_linux_valgrind_archive, |
186 tests=['valgrind_base', | 186 tests=['valgrind_base', |
187 'valgrind_crypto', | |
187 'valgrind_ui_3_of_8', | 188 'valgrind_ui_3_of_8', |
188 'valgrind_ui_4_of_8', | 189 'valgrind_ui_4_of_8', |
189 ], | 190 ], |
190 factory_properties={ | 191 factory_properties={ |
191 'needs_valgrind' : True, | 192 'needs_valgrind' : True, |
192 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 193 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
193 | 194 |
194 f_chromium_rel_linux_valgrind_tests_3 = F_LINUX( | 195 f_chromium_rel_linux_valgrind_tests_3 = F_LINUX( |
195 target='Release', | 196 target='Release', |
196 slave_type='Tester', | 197 slave_type='Tester', |
(...skipping 23 matching lines...) Expand all Loading... | |
220 'valgrind_ui_8_of_8', | 221 'valgrind_ui_8_of_8', |
221 ], | 222 ], |
222 factory_properties={ | 223 factory_properties={ |
223 'needs_valgrind' : True, | 224 'needs_valgrind' : True, |
224 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 225 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
225 | 226 |
226 f_chromium_rel_linux_tsan = F_LINUX( | 227 f_chromium_rel_linux_tsan = F_LINUX( |
227 target='Release', | 228 target='Release', |
228 slave_type='Tester', | 229 slave_type='Tester', |
229 build_url=chromium_linux_valgrind_archive, | 230 build_url=chromium_linux_valgrind_archive, |
231 # New tests must first update src/tools/valgrind/chrome_tests.py to | |
232 # handle the test name, sans the 'tsan_' prefix. | |
Timur Iskhodzhanov
2011/05/20 08:39:11
s/sans/without ?
| |
230 tests=['tsan_app', | 233 tests=['tsan_app', |
231 'tsan_base', | 234 'tsan_base', |
235 'tsan_crypto', | |
232 'tsan_googleurl', | 236 'tsan_googleurl', |
233 'tsan_net', | 237 'tsan_net', |
234 'tsan_ipc', | 238 'tsan_ipc', |
235 'tsan_media', | 239 'tsan_media', |
236 'tsan_printing', | 240 'tsan_printing', |
237 'tsan_remoting', | 241 'tsan_remoting', |
238 'tsan_gfx', | 242 'tsan_gfx', |
239 'tsan_sync', | 243 'tsan_sync', |
240 'tsan_unit_1_of_2', | 244 'tsan_unit_1_of_2', |
241 'tsan_unit_2_of_2', | 245 'tsan_unit_2_of_2', |
(...skipping 22 matching lines...) Expand all Loading... | |
264 ], | 268 ], |
265 factory_properties={ | 269 factory_properties={ |
266 'needs_valgrind' : True, | 270 'needs_valgrind' : True, |
267 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 271 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
268 | 272 |
269 f_chromium_rel_linux_valgrind_builder = F_LINUX( | 273 f_chromium_rel_linux_valgrind_builder = F_LINUX( |
270 target='Release', | 274 target='Release', |
271 slave_type='Builder', | 275 slave_type='Builder', |
272 options=['app_unittests', | 276 options=['app_unittests', |
273 'base_unittests', | 277 'base_unittests', |
278 'crypto_unittests', | |
274 'googleurl_unittests', | 279 'googleurl_unittests', |
275 'ipc_tests', | 280 'ipc_tests', |
276 'media_unittests', | 281 'media_unittests', |
277 'net_unittests', | 282 'net_unittests', |
278 'gfx_unittests', | 283 'gfx_unittests', |
279 'printing_unittests', | 284 'printing_unittests', |
280 'remoting_unittests', | 285 'remoting_unittests', |
281 'safe_browsing_tests', | 286 'safe_browsing_tests', |
282 'sync_unit_tests', | 287 'sync_unit_tests', |
283 'ui_tests', | 288 'ui_tests', |
(...skipping 10 matching lines...) Expand all Loading... | |
294 target='Debug', | 299 target='Debug', |
295 options=['googleurl_unittests', | 300 options=['googleurl_unittests', |
296 'printing_unittests', | 301 'printing_unittests', |
297 'media_unittests', | 302 'media_unittests', |
298 'courgette_unittests', | 303 'courgette_unittests', |
299 'remoting_unittests', | 304 'remoting_unittests', |
300 'app_unittests', | 305 'app_unittests', |
301 'sync_unit_tests', | 306 'sync_unit_tests', |
302 'ipc_tests', | 307 'ipc_tests', |
303 'base_unittests', | 308 'base_unittests', |
309 'crypto_unittests', | |
304 'net_unittests', | 310 'net_unittests', |
305 'gfx_unittests', | 311 'gfx_unittests', |
306 'unit_tests', | 312 'unit_tests', |
307 'test_shell_tests', | 313 'test_shell_tests', |
308 'DumpRenderTree', | 314 'DumpRenderTree', |
309 ], | 315 ], |
316 # New tests must first update src/tools/heapcheck/chrome_tests.py to | |
317 # handle the test name, sans the 'heapcheck_' prefix. | |
310 tests=['heapcheck_googleurl', | 318 tests=['heapcheck_googleurl', |
311 'heapcheck_printing', | 319 'heapcheck_printing', |
312 'heapcheck_media', | 320 'heapcheck_media', |
313 'heapcheck_courgette', | 321 'heapcheck_courgette', |
314 'heapcheck_remoting', | 322 'heapcheck_remoting', |
315 'heapcheck_app', | 323 'heapcheck_app', |
316 'heapcheck_sync', | 324 'heapcheck_sync', |
317 'heapcheck_ipc', | 325 'heapcheck_ipc', |
318 'heapcheck_base', | 326 'heapcheck_base', |
327 'heapcheck_crypto', | |
319 'heapcheck_net', | 328 'heapcheck_net', |
320 'heapcheck_gfx', | 329 'heapcheck_gfx', |
321 'heapcheck_unit', | 330 'heapcheck_unit', |
322 'heapcheck_test_shell', | 331 'heapcheck_test_shell', |
323 ], | 332 ], |
324 factory_properties={ | 333 factory_properties={ |
325 'gclient_env': {'GYP_DEFINES' : heapcheck_gyp_defines} }, | 334 'gclient_env': {'GYP_DEFINES' : heapcheck_gyp_defines} }, |
326 ) | 335 ) |
327 | 336 |
328 | 337 |
(...skipping 24 matching lines...) Expand all Loading... | |
353 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, | 362 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
354 options=['--', '-project', '../build/all.xcodeproj', | 363 options=['--', '-project', '../build/all.xcodeproj', |
355 '-target', 'chromium_builder_dbg_valgrind_mac']) | 364 '-target', 'chromium_builder_dbg_valgrind_mac']) |
356 | 365 |
357 f_cr_dbg_mac_valgrind = F_MAC( | 366 f_cr_dbg_mac_valgrind = F_MAC( |
358 build_url=chromium_mac_valgrind_archive, | 367 build_url=chromium_mac_valgrind_archive, |
359 slave_type='Tester', | 368 slave_type='Tester', |
360 factory_properties={ | 369 factory_properties={ |
361 'needs_valgrind' : True, | 370 'needs_valgrind' : True, |
362 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 371 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
372 # New tests must first be added as dependencies to the appropriate target | |
Timur Iskhodzhanov
2011/05/20 08:39:11
s/appropriate/chromium_builder_dbg_valgrind_mac/
| |
373 # in src/build/all.gyp, then src/tools/valgrind/chrome_tests.py must be | |
374 # updated to handle the test name, sans the 'valgrind_' prefix. | |
363 tests=['valgrind_app', | 375 tests=['valgrind_app', |
364 'valgrind_base', | 376 'valgrind_base', |
377 'valgrind_crypto', | |
365 'valgrind_googleurl', | 378 'valgrind_googleurl', |
366 'valgrind_ipc', | 379 'valgrind_ipc', |
367 'valgrind_media', | 380 'valgrind_media', |
368 'valgrind_net', | 381 'valgrind_net', |
369 'valgrind_printing', | 382 'valgrind_printing', |
370 'valgrind_remoting', | 383 'valgrind_remoting', |
371 'valgrind_safe_browsing', | 384 'valgrind_safe_browsing', |
372 'valgrind_gfx', | 385 'valgrind_gfx', |
373 'valgrind_unit_1_of_2', | 386 'valgrind_unit_1_of_2', |
374 'valgrind_unit_2_of_2', | 387 'valgrind_unit_2_of_2', |
375 ]) | 388 ]) |
376 | 389 |
377 f_cr_dbg_mac_tsan = F_MAC( | 390 f_cr_dbg_mac_tsan = F_MAC( |
378 build_url=chromium_mac_valgrind_archive, | 391 build_url=chromium_mac_valgrind_archive, |
379 slave_type='Tester', | 392 slave_type='Tester', |
380 factory_properties={ | 393 factory_properties={ |
381 'needs_valgrind' : True, | 394 'needs_valgrind' : True, |
382 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 395 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
396 # New tests must first be added as dependencies to the appropriate target | |
Timur Iskhodzhanov
2011/05/20 08:39:11
s/appropriate/chromium_builder_dbg_valgrind_mac/
| |
397 # in src/build/all.gyp, then src/tools/valgrind/chrome_tests.py must be | |
398 # updated to handle the test name, sans the 'tsan_' prefix. | |
383 tests=['tsan_app', | 399 tests=['tsan_app', |
384 'tsan_base', | 400 'tsan_base', |
401 'tsan_crypto', | |
385 'tsan_googleurl', | 402 'tsan_googleurl', |
386 'tsan_net', | 403 'tsan_net', |
387 'tsan_ipc', | 404 'tsan_ipc', |
388 'tsan_media', | 405 'tsan_media', |
389 'tsan_printing', | 406 'tsan_printing', |
390 'tsan_remoting', | 407 'tsan_remoting', |
391 'tsan_gfx', | 408 'tsan_gfx', |
392 'tsan_sync']) | 409 'tsan_sync']) |
393 | 410 |
394 f_cr_rel_mac_valgrind_ui_1 = F_MAC( | 411 f_cr_rel_mac_valgrind_ui_1 = F_MAC( |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
447 ], | 464 ], |
448 options=['unit_tests', | 465 options=['unit_tests', |
449 'ui_tests'], | 466 'ui_tests'], |
450 factory_properties={ | 467 factory_properties={ |
451 'needs_valgrind' : True, | 468 'needs_valgrind' : True, |
452 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 469 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
453 | 470 |
454 f_chromium_rel_chromeos_valgrind_tests_2 = F_CR_OS( | 471 f_chromium_rel_chromeos_valgrind_tests_2 = F_CR_OS( |
455 target='Release', | 472 target='Release', |
456 tests=['valgrind_base', | 473 tests=['valgrind_base', |
474 'valgrind_crypto', | |
457 'valgrind_ui_3_of_8', | 475 'valgrind_ui_3_of_8', |
458 'valgrind_ui_4_of_8', | 476 'valgrind_ui_4_of_8', |
459 ], | 477 ], |
460 options=['base_unittests', | 478 options=['base_unittests', |
479 'crypto_unittests', | |
461 'ui_tests'], | 480 'ui_tests'], |
462 factory_properties={ | 481 factory_properties={ |
463 'needs_valgrind' : True, | 482 'needs_valgrind' : True, |
464 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 483 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
465 | 484 |
466 f_chromium_rel_chromeos_valgrind_tests_3 = F_CR_OS( | 485 f_chromium_rel_chromeos_valgrind_tests_3 = F_CR_OS( |
467 target='Release', | 486 target='Release', |
468 tests=['valgrind_net', | 487 tests=['valgrind_net', |
469 'valgrind_gfx', | 488 'valgrind_gfx', |
470 'valgrind_ui_5_of_8', | 489 'valgrind_ui_5_of_8', |
(...skipping 25 matching lines...) Expand all Loading... | |
496 'remoting_unittests', | 515 'remoting_unittests', |
497 'ui_tests'], | 516 'ui_tests'], |
498 factory_properties={ | 517 factory_properties={ |
499 'needs_valgrind' : True, | 518 'needs_valgrind' : True, |
500 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 519 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
501 | 520 |
502 pin_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES | 521 pin_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES |
503 | 522 |
504 f_chromium_dbg_win_tsan = F_WIN( | 523 f_chromium_dbg_win_tsan = F_WIN( |
505 target='Debug', | 524 target='Debug', |
525 # New tests must first be added as dependencies to the appropriate target | |
Timur Iskhodzhanov
2011/05/20 08:39:11
s/appropriate/chromium_builder_dbg_tsan_win/
| |
526 # in src/build/all.gyp, then src/tools/valgrind/chrome_tests.py must be | |
527 # updated to handle the test name, sans the 'tsan_' prefix. | |
506 tests=[ | 528 tests=[ |
507 'tsan_googleurl', | 529 'tsan_googleurl', |
508 'tsan_printing', | 530 'tsan_printing', |
509 'tsan_remoting', | 531 'tsan_remoting', |
510 'tsan_app', | 532 'tsan_app', |
511 'tsan_media', | 533 'tsan_media', |
512 'tsan_ipc', | 534 'tsan_ipc', |
513 'tsan_base', | 535 'tsan_base', |
536 'tsan_crypto', | |
514 'tsan_net', | 537 'tsan_net', |
515 ], | 538 ], |
516 project='all.sln;chromium_builder_dbg_tsan_win', | 539 project='all.sln;chromium_builder_dbg_tsan_win', |
517 factory_properties={ | 540 factory_properties={ |
518 'needs_tsan_win' : True, | 541 'needs_tsan_win' : True, |
519 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, | 542 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, |
520 }, | 543 }, |
521 ) | 544 ) |
522 | 545 |
523 # ---------------------------------------------------------------------------- | 546 # ---------------------------------------------------------------------------- |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
756 'buildETAUpdate', 'stepStarted', 'stepTextChanged', | 779 'buildETAUpdate', 'stepStarted', 'stepTextChanged', |
757 'stepText2Changed', 'stepETAUpdate', 'logStarted', | 780 'stepText2Changed', 'stepETAUpdate', 'logStarted', |
758 'logFinished', 'buildedRemoved', 'slaveConnected', | 781 'logFinished', 'buildedRemoved', 'slaveConnected', |
759 'slaveDisconnected'))) | 782 'slaveDisconnected'))) |
760 | 783 |
761 | 784 |
762 ####### PROJECT IDENTITY | 785 ####### PROJECT IDENTITY |
763 | 786 |
764 # Buildbot master url: | 787 # Buildbot master url: |
765 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' | 788 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' |
OLD | NEW |