| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 ], | 199 ], |
| 200 factory_properties={ | 200 factory_properties={ |
| 201 'needs_valgrind' : True, | 201 'needs_valgrind' : True, |
| 202 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 202 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 203 | 203 |
| 204 f_chromium_rel_linux_valgrind_tests_2 = F_LINUX( | 204 f_chromium_rel_linux_valgrind_tests_2 = F_LINUX( |
| 205 target='Release', | 205 target='Release', |
| 206 slave_type='Tester', | 206 slave_type='Tester', |
| 207 build_url=chromium_linux_valgrind_archive, | 207 build_url=chromium_linux_valgrind_archive, |
| 208 tests=['valgrind_base', | 208 tests=['valgrind_base', |
| 209 'valgrind_crypto', |
| 209 'valgrind_ui_3_of_10', | 210 'valgrind_ui_3_of_10', |
| 210 'valgrind_ui_4_of_10', | 211 'valgrind_ui_4_of_10', |
| 211 ], | 212 ], |
| 212 factory_properties={ | 213 factory_properties={ |
| 213 'needs_valgrind' : True, | 214 'needs_valgrind' : True, |
| 214 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 215 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 215 | 216 |
| 216 f_chromium_rel_linux_valgrind_tests_3 = F_LINUX( | 217 f_chromium_rel_linux_valgrind_tests_3 = F_LINUX( |
| 217 target='Release', | 218 target='Release', |
| 218 slave_type='Tester', | 219 slave_type='Tester', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 'valgrind_ui_10_of_10', | 254 'valgrind_ui_10_of_10', |
| 254 ], | 255 ], |
| 255 factory_properties={ | 256 factory_properties={ |
| 256 'needs_valgrind' : True, | 257 'needs_valgrind' : True, |
| 257 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 258 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 258 | 259 |
| 259 f_chromium_rel_linux_tsan = F_LINUX( | 260 f_chromium_rel_linux_tsan = F_LINUX( |
| 260 target='Release', | 261 target='Release', |
| 261 slave_type='Tester', | 262 slave_type='Tester', |
| 262 build_url=chromium_linux_valgrind_archive, | 263 build_url=chromium_linux_valgrind_archive, |
| 264 # New tests must first update src/tools/valgrind/chrome_tests.py to |
| 265 # handle the test name, without the 'tsan_' prefix. |
| 263 tests=['tsan_app', | 266 tests=['tsan_app', |
| 264 'tsan_base', | 267 'tsan_base', |
| 268 'tsan_crypto', |
| 265 'tsan_googleurl', | 269 'tsan_googleurl', |
| 266 'tsan_net', | 270 'tsan_net', |
| 267 'tsan_ipc', | 271 'tsan_ipc', |
| 268 'tsan_media', | 272 'tsan_media', |
| 269 'tsan_printing', | 273 'tsan_printing', |
| 270 'tsan_remoting', | 274 'tsan_remoting', |
| 271 'tsan_gfx', | 275 'tsan_gfx', |
| 272 'tsan_sync', | 276 'tsan_sync', |
| 273 'tsan_unit_1_of_2', | 277 'tsan_unit_1_of_2', |
| 274 'tsan_unit_2_of_2', | 278 'tsan_unit_2_of_2', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 297 ], | 301 ], |
| 298 factory_properties={ | 302 factory_properties={ |
| 299 'needs_valgrind' : True, | 303 'needs_valgrind' : True, |
| 300 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) | 304 'gclient_env': { 'GYP_DEFINES' : valgrind_x86_gyp_defines}}) |
| 301 | 305 |
| 302 f_chromium_rel_linux_valgrind_builder = F_LINUX( | 306 f_chromium_rel_linux_valgrind_builder = F_LINUX( |
| 303 target='Release', | 307 target='Release', |
| 304 slave_type='Builder', | 308 slave_type='Builder', |
| 305 options=['app_unittests', | 309 options=['app_unittests', |
| 306 'base_unittests', | 310 'base_unittests', |
| 311 'crypto_unittests', |
| 307 'googleurl_unittests', | 312 'googleurl_unittests', |
| 308 'ipc_tests', | 313 'ipc_tests', |
| 309 'media_unittests', | 314 'media_unittests', |
| 310 'net_unittests', | 315 'net_unittests', |
| 311 'gfx_unittests', | 316 'gfx_unittests', |
| 312 'printing_unittests', | 317 'printing_unittests', |
| 313 'remoting_unittests', | 318 'remoting_unittests', |
| 314 'safe_browsing_tests', | 319 'safe_browsing_tests', |
| 315 'sync_unit_tests', | 320 'sync_unit_tests', |
| 316 'ui_tests', | 321 'ui_tests', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 327 target='Debug', | 332 target='Debug', |
| 328 options=['googleurl_unittests', | 333 options=['googleurl_unittests', |
| 329 'printing_unittests', | 334 'printing_unittests', |
| 330 'media_unittests', | 335 'media_unittests', |
| 331 'courgette_unittests', | 336 'courgette_unittests', |
| 332 'remoting_unittests', | 337 'remoting_unittests', |
| 333 'app_unittests', | 338 'app_unittests', |
| 334 'sync_unit_tests', | 339 'sync_unit_tests', |
| 335 'ipc_tests', | 340 'ipc_tests', |
| 336 'base_unittests', | 341 'base_unittests', |
| 342 'crypto_unittests', |
| 337 'net_unittests', | 343 'net_unittests', |
| 338 'gfx_unittests', | 344 'gfx_unittests', |
| 339 'unit_tests', | 345 'unit_tests', |
| 340 'test_shell_tests', | 346 'test_shell_tests', |
| 341 'DumpRenderTree', | 347 'DumpRenderTree', |
| 342 ], | 348 ], |
| 349 # New tests must first update src/tools/heapcheck/chrome_tests.py to |
| 350 # handle the test name, without the 'heapcheck_' prefix. |
| 343 tests=['heapcheck_googleurl', | 351 tests=['heapcheck_googleurl', |
| 344 'heapcheck_printing', | 352 'heapcheck_printing', |
| 345 'heapcheck_media', | 353 'heapcheck_media', |
| 346 'heapcheck_courgette', | 354 'heapcheck_courgette', |
| 347 'heapcheck_remoting', | 355 'heapcheck_remoting', |
| 348 'heapcheck_app', | 356 'heapcheck_app', |
| 349 'heapcheck_sync', | 357 'heapcheck_sync', |
| 350 'heapcheck_ipc', | 358 'heapcheck_ipc', |
| 351 'heapcheck_base', | 359 'heapcheck_base', |
| 360 'heapcheck_crypto', |
| 352 'heapcheck_net', | 361 'heapcheck_net', |
| 353 'heapcheck_gfx', | 362 'heapcheck_gfx', |
| 354 'heapcheck_unit', | 363 'heapcheck_unit', |
| 355 'heapcheck_test_shell', | 364 'heapcheck_test_shell', |
| 356 ], | 365 ], |
| 357 factory_properties={ | 366 factory_properties={ |
| 358 'gclient_env': {'GYP_DEFINES' : heapcheck_gyp_defines} }, | 367 'gclient_env': {'GYP_DEFINES' : heapcheck_gyp_defines} }, |
| 359 ) | 368 ) |
| 360 | 369 |
| 361 | 370 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 386 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, | 395 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
| 387 options=['--', '-project', '../build/all.xcodeproj', | 396 options=['--', '-project', '../build/all.xcodeproj', |
| 388 '-target', 'chromium_builder_dbg_valgrind_mac']) | 397 '-target', 'chromium_builder_dbg_valgrind_mac']) |
| 389 | 398 |
| 390 f_cr_dbg_mac_valgrind = F_MAC( | 399 f_cr_dbg_mac_valgrind = F_MAC( |
| 391 build_url=chromium_mac_valgrind_archive, | 400 build_url=chromium_mac_valgrind_archive, |
| 392 slave_type='Tester', | 401 slave_type='Tester', |
| 393 factory_properties={ | 402 factory_properties={ |
| 394 'needs_valgrind' : True, | 403 'needs_valgrind' : True, |
| 395 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 404 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 405 # New tests must first be added as dependencies to the |
| 406 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then |
| 407 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 408 # name, without the 'valgrind_' prefix. |
| 396 tests=['valgrind_app', | 409 tests=['valgrind_app', |
| 397 'valgrind_base', | 410 'valgrind_base', |
| 411 'valgrind_crypto', |
| 398 'valgrind_googleurl', | 412 'valgrind_googleurl', |
| 399 'valgrind_ipc', | 413 'valgrind_ipc', |
| 400 'valgrind_media', | 414 'valgrind_media', |
| 401 'valgrind_net', | 415 'valgrind_net', |
| 402 'valgrind_printing', | 416 'valgrind_printing', |
| 403 'valgrind_remoting', | 417 'valgrind_remoting', |
| 404 'valgrind_safe_browsing', | 418 'valgrind_safe_browsing', |
| 405 'valgrind_gfx', | 419 'valgrind_gfx', |
| 406 'valgrind_unit_1_of_2', | 420 'valgrind_unit_1_of_2', |
| 407 'valgrind_unit_2_of_2', | 421 'valgrind_unit_2_of_2', |
| 408 ]) | 422 ]) |
| 409 | 423 |
| 410 f_cr_dbg_mac_tsan = F_MAC( | 424 f_cr_dbg_mac_tsan = F_MAC( |
| 411 build_url=chromium_mac_valgrind_archive, | 425 build_url=chromium_mac_valgrind_archive, |
| 412 slave_type='Tester', | 426 slave_type='Tester', |
| 413 factory_properties={ | 427 factory_properties={ |
| 414 'needs_valgrind' : True, | 428 'needs_valgrind' : True, |
| 415 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, | 429 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 430 # New tests must first be added as dependencies to the |
| 431 # 'chromium_builder_dbg_valgrind_mac' target in src/build/all.gyp, then |
| 432 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 433 # name, without the 'tsan_' prefix. |
| 416 tests=['tsan_app', | 434 tests=['tsan_app', |
| 417 'tsan_base', | 435 'tsan_base', |
| 436 'tsan_crypto', |
| 418 'tsan_googleurl', | 437 'tsan_googleurl', |
| 419 'tsan_net', | 438 'tsan_net', |
| 420 'tsan_ipc', | 439 'tsan_ipc', |
| 421 'tsan_media', | 440 'tsan_media', |
| 422 'tsan_printing', | 441 'tsan_printing', |
| 423 'tsan_remoting', | 442 'tsan_remoting', |
| 424 'tsan_gfx', | 443 'tsan_gfx', |
| 425 'tsan_sync']) | 444 'tsan_sync']) |
| 426 | 445 |
| 427 f_cr_rel_mac_valgrind_ui_1 = F_MAC( | 446 f_cr_rel_mac_valgrind_ui_1 = F_MAC( |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines } }, | 489 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines } }, |
| 471 tests=['valgrind_test_shell'], | 490 tests=['valgrind_test_shell'], |
| 472 options=['--', '-project', | 491 options=['--', '-project', |
| 473 '../webkit/webkit.xcodeproj']) | 492 '../webkit/webkit.xcodeproj']) |
| 474 | 493 |
| 475 f_chromium_rel_chromeos_valgrind_builder = F_CR_OS( | 494 f_chromium_rel_chromeos_valgrind_builder = F_CR_OS( |
| 476 target='Release', | 495 target='Release', |
| 477 slave_type='Builder', | 496 slave_type='Builder', |
| 478 options=['app_unittests', | 497 options=['app_unittests', |
| 479 'base_unittests', | 498 'base_unittests', |
| 499 'crypto_unittests', |
| 480 'googleurl_unittests', | 500 'googleurl_unittests', |
| 481 'ipc_tests', | 501 'ipc_tests', |
| 482 'media_unittests', | 502 'media_unittests', |
| 483 'net_unittests', | 503 'net_unittests', |
| 484 'gfx_unittests', | 504 'gfx_unittests', |
| 485 'printing_unittests', | 505 'printing_unittests', |
| 486 'remoting_unittests', | 506 'remoting_unittests', |
| 487 'safe_browsing_tests', | 507 'safe_browsing_tests', |
| 488 'sync_unit_tests', | 508 'sync_unit_tests', |
| 489 'ui_tests', | 509 'ui_tests', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 502 ], | 522 ], |
| 503 factory_properties={ | 523 factory_properties={ |
| 504 'needs_valgrind' : True, | 524 'needs_valgrind' : True, |
| 505 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 525 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 506 | 526 |
| 507 f_chromium_rel_chromeos_valgrind_tests_2 = F_CR_OS( | 527 f_chromium_rel_chromeos_valgrind_tests_2 = F_CR_OS( |
| 508 target='Release', | 528 target='Release', |
| 509 slave_type='Tester', | 529 slave_type='Tester', |
| 510 build_url=chromium_chromeos_valgrind_archive, | 530 build_url=chromium_chromeos_valgrind_archive, |
| 511 tests=['valgrind_base', | 531 tests=['valgrind_base', |
| 532 'valgrind_crypto', |
| 512 'valgrind_ui_3_of_10', | 533 'valgrind_ui_3_of_10', |
| 513 'valgrind_ui_4_of_10', | 534 'valgrind_ui_4_of_10', |
| 514 ], | 535 ], |
| 515 factory_properties={ | 536 factory_properties={ |
| 516 'needs_valgrind' : True, | 537 'needs_valgrind' : True, |
| 517 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 538 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 518 | 539 |
| 519 f_chromium_rel_chromeos_valgrind_tests_3 = F_CR_OS( | 540 f_chromium_rel_chromeos_valgrind_tests_3 = F_CR_OS( |
| 520 target='Release', | 541 target='Release', |
| 521 slave_type='Tester', | 542 slave_type='Tester', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 'valgrind_ui_10_of_10', | 576 'valgrind_ui_10_of_10', |
| 556 ], | 577 ], |
| 557 factory_properties={ | 578 factory_properties={ |
| 558 'needs_valgrind' : True, | 579 'needs_valgrind' : True, |
| 559 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) | 580 'gclient_env': {'GYP_DEFINES' : valgrind_cros_gyp_defines}}) |
| 560 | 581 |
| 561 pin_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES | 582 pin_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES |
| 562 | 583 |
| 563 f_chromium_dbg_win_tsan = F_WIN( | 584 f_chromium_dbg_win_tsan = F_WIN( |
| 564 target='Debug', | 585 target='Debug', |
| 586 # New tests must first be added as dependencies to the |
| 587 # 'chromium_builder_dbg_tsan_win' target in src/build/all.gyp, then |
| 588 # src/tools/valgrind/chrome_tests.py must be updated to handle the test |
| 589 # name, without the 'tsan_' prefix. |
| 565 tests=[ | 590 tests=[ |
| 566 'tsan_googleurl', | 591 'tsan_googleurl', |
| 567 'tsan_printing', | 592 'tsan_printing', |
| 568 'tsan_remoting', | 593 'tsan_remoting', |
| 569 'tsan_app', | 594 'tsan_app', |
| 570 'tsan_media', | 595 'tsan_media', |
| 571 'tsan_ipc', | 596 'tsan_ipc', |
| 572 'tsan_base', | 597 'tsan_base', |
| 598 'tsan_crypto', |
| 573 'tsan_net', | 599 'tsan_net', |
| 574 ], | 600 ], |
| 575 project='all.sln;chromium_builder_dbg_tsan_win', | 601 project='all.sln;chromium_builder_dbg_tsan_win', |
| 576 factory_properties={ | 602 factory_properties={ |
| 577 'needs_tsan_win' : True, | 603 'needs_tsan_win' : True, |
| 578 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, | 604 'gclient_env': { 'GYP_DEFINES' : pin_gyp_defines }, |
| 579 }, | 605 }, |
| 580 ) | 606 ) |
| 581 | 607 |
| 582 # ---------------------------------------------------------------------------- | 608 # ---------------------------------------------------------------------------- |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 'buildETAUpdate', 'stepStarted', 'stepTextChanged', | 864 'buildETAUpdate', 'stepStarted', 'stepTextChanged', |
| 839 'stepText2Changed', 'stepETAUpdate', 'logStarted', | 865 'stepText2Changed', 'stepETAUpdate', 'logStarted', |
| 840 'logFinished', 'buildedRemoved', 'slaveConnected', | 866 'logFinished', 'buildedRemoved', 'slaveConnected', |
| 841 'slaveDisconnected'))) | 867 'slaveDisconnected'))) |
| 842 | 868 |
| 843 | 869 |
| 844 ####### PROJECT IDENTITY | 870 ####### PROJECT IDENTITY |
| 845 | 871 |
| 846 # Buildbot master url: | 872 # Buildbot master url: |
| 847 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' | 873 c['buildbotURL'] = 'http://build.chromium.org/p/chromium.memory/' |
| OLD | NEW |