| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 # This is the buildmaster config file for the 'chromium memory' bot. It must | 8 # This is the buildmaster config file for the 'chromium memory' bot. It must |
| 9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
| 10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 # TODO(nsylvain): Find a better way to express this. | 175 # TODO(nsylvain): Find a better way to express this. |
| 176 def _GetArchiveUrl(machine_name, builder_name, zip_os_name): | 176 def _GetArchiveUrl(machine_name, builder_name, zip_os_name): |
| 177 return ('http://%s.jail.google.com/b/slave/%s/chrome_staging/' | 177 return ('http://%s.jail.google.com/b/slave/%s/chrome_staging/' |
| 178 'full-build-%s.zip' % (machine_name, builder_name, zip_os_name)) | 178 'full-build-%s.zip' % (machine_name, builder_name, zip_os_name)) |
| 179 | 179 |
| 180 chromium_linux_valgrind_archive = _GetArchiveUrl('codf185', | 180 chromium_linux_valgrind_archive = _GetArchiveUrl('codf185', |
| 181 'chromium-rel-linux-valgrind-builder', 'linux') | 181 'chromium-rel-linux-valgrind-builder', 'linux') |
| 182 | 182 |
| 183 valgrind_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES | 183 valgrind_gyp_defines = chromium_factory.ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES |
| 184 | 184 |
| 185 # Running out of address space on 10.5... try to buy some time. |
| 186 valgrind_mac_gyp_defines = valgrind_gyp_defines + ' enable_svg=0' |
| 187 |
| 185 heapcheck_gyp_defines = ( | 188 heapcheck_gyp_defines = ( |
| 186 'linux_use_tcmalloc=1 ' | 189 'linux_use_tcmalloc=1 ' |
| 187 'linux_use_heapchecker=1 ' | 190 'linux_use_heapchecker=1 ' |
| 188 ) | 191 ) |
| 189 | 192 |
| 190 f_chromium_rel_linux_valgrind_tests_1 = F_LINUX( | 193 f_chromium_rel_linux_valgrind_tests_1 = F_LINUX( |
| 191 'chromium-rel-linux-valgrind-tests-1', target='Release', | 194 'chromium-rel-linux-valgrind-tests-1', target='Release', |
| 192 slave_type='Tester', | 195 slave_type='Tester', |
| 193 build_url=chromium_linux_valgrind_archive, | 196 build_url=chromium_linux_valgrind_archive, |
| 194 tests=['valgrind_unit', | 197 tests=['valgrind_unit', |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 'needs_valgrind' : True, | 299 'needs_valgrind' : True, |
| 297 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}) | 300 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}) |
| 298 | 301 |
| 299 # TODO(tvl): it would be nice to better tweak what is built by this to speed | 302 # TODO(tvl): it would be nice to better tweak what is built by this to speed |
| 300 # up the compile cycle times. | 303 # up the compile cycle times. |
| 301 f_cr_dbg_mac_valgrind = F_MAC( | 304 f_cr_dbg_mac_valgrind = F_MAC( |
| 302 'chromium-dbg-mac-valgrind', | 305 'chromium-dbg-mac-valgrind', |
| 303 target = 'Debug', | 306 target = 'Debug', |
| 304 factory_properties={ | 307 factory_properties={ |
| 305 'needs_valgrind' : True, | 308 'needs_valgrind' : True, |
| 306 'gclient_env': {'GYP_DEFINES' : valgrind_gyp_defines} }, | 309 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 307 tests=['valgrind_app', | 310 tests=['valgrind_app', |
| 308 'valgrind_base', | 311 'valgrind_base', |
| 309 'valgrind_googleurl', | 312 'valgrind_googleurl', |
| 310 'valgrind_ipc', | 313 'valgrind_ipc', |
| 311 'valgrind_media', | 314 'valgrind_media', |
| 312 'valgrind_net', | 315 'valgrind_net', |
| 313 'valgrind_printing', | 316 'valgrind_printing', |
| 314 'valgrind_unit']) | 317 'valgrind_unit']) |
| 315 | 318 |
| 316 f_cr_dbg_mac_tsan = F_MAC( | 319 f_cr_dbg_mac_tsan = F_MAC( |
| 317 'chromium-dbg-mac-tsan', | 320 'chromium-dbg-mac-tsan', |
| 318 target='Debug', | 321 target='Debug', |
| 319 factory_properties={ | 322 factory_properties={ |
| 320 'needs_valgrind' : True, | 323 'needs_valgrind' : True, |
| 321 'gclient_env': {'GYP_DEFINES' : valgrind_gyp_defines} }, | 324 'gclient_env': {'GYP_DEFINES' : valgrind_mac_gyp_defines} }, |
| 322 tests=['tsan_base', | 325 tests=['tsan_base', |
| 323 'tsan_googleurl', | 326 'tsan_googleurl', |
| 324 'tsan_net', | 327 'tsan_net', |
| 325 'tsan_ipc', | 328 'tsan_ipc', |
| 326 'tsan_media', | 329 'tsan_media', |
| 327 'tsan_printing'], | 330 'tsan_printing'], |
| 328 options=['--', '-project', '../build/all.xcodeproj', | 331 options=['--', '-project', '../build/all.xcodeproj', |
| 329 '-target', 'chromium_builder_dbg_tsan_mac']) | 332 '-target', 'chromium_builder_dbg_tsan_mac']) |
| 330 | 333 |
| 331 # temporary hack: use debug builds for mac valgrind ui tests | 334 # temporary hack: use debug builds for mac valgrind ui tests |
| 332 # until we figure out why we can't get stacks on release builds | 335 # until we figure out why we can't get stacks on release builds |
| 333 f_cr_rel_mac_valgrind_ui_1 = F_MAC( | 336 f_cr_rel_mac_valgrind_ui_1 = F_MAC( |
| 334 'chromium-rel-mac-valgrind-ui-1', | 337 'chromium-rel-mac-valgrind-ui-1', |
| 335 tests=['valgrind_ui_1_of_4'], | 338 tests=['valgrind_ui_1_of_4'], |
| 336 target='Debug', | 339 target='Debug', |
| 337 factory_properties={ | 340 factory_properties={ |
| 338 'needs_valgrind' : True, | 341 'needs_valgrind' : True, |
| 339 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}, | 342 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
| 340 options=['--', '-project', '../chrome/chrome.xcodeproj', | 343 options=['--', '-project', '../chrome/chrome.xcodeproj', |
| 341 '-target', 'ui_tests']) | 344 '-target', 'ui_tests']) |
| 342 | 345 |
| 343 f_cr_rel_mac_valgrind_ui_2 = F_MAC( | 346 f_cr_rel_mac_valgrind_ui_2 = F_MAC( |
| 344 'chromium-rel-mac-valgrind-ui-2', | 347 'chromium-rel-mac-valgrind-ui-2', |
| 345 tests=['valgrind_ui_2_of_4'], | 348 tests=['valgrind_ui_2_of_4'], |
| 346 target='Debug', | 349 target='Debug', |
| 347 factory_properties={ | 350 factory_properties={ |
| 348 'needs_valgrind' : True, | 351 'needs_valgrind' : True, |
| 349 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}, | 352 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
| 350 options=['--', '-project', '../chrome/chrome.xcodeproj', | 353 options=['--', '-project', '../chrome/chrome.xcodeproj', |
| 351 '-target', 'ui_tests']) | 354 '-target', 'ui_tests']) |
| 352 | 355 |
| 353 f_cr_rel_mac_valgrind_ui_3 = F_MAC( | 356 f_cr_rel_mac_valgrind_ui_3 = F_MAC( |
| 354 'chromium-rel-mac-valgrind-ui-3', | 357 'chromium-rel-mac-valgrind-ui-3', |
| 355 tests=['valgrind_ui_3_of_4'], | 358 tests=['valgrind_ui_3_of_4'], |
| 356 target='Debug', | 359 target='Debug', |
| 357 factory_properties={ | 360 factory_properties={ |
| 358 'needs_valgrind' : True, | 361 'needs_valgrind' : True, |
| 359 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}, | 362 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
| 360 options=['--', '-project', '../chrome/chrome.xcodeproj', | 363 options=['--', '-project', '../chrome/chrome.xcodeproj', |
| 361 '-target', 'ui_tests']) | 364 '-target', 'ui_tests']) |
| 362 | 365 |
| 363 f_cr_rel_mac_valgrind_ui_4 = F_MAC( | 366 f_cr_rel_mac_valgrind_ui_4 = F_MAC( |
| 364 'chromium-rel-mac-valgrind-ui-4', | 367 'chromium-rel-mac-valgrind-ui-4', |
| 365 tests=['valgrind_ui_4_of_4'], | 368 tests=['valgrind_ui_4_of_4'], |
| 366 target='Debug', | 369 target='Debug', |
| 367 factory_properties={ | 370 factory_properties={ |
| 368 'needs_valgrind' : True, | 371 'needs_valgrind' : True, |
| 369 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines}}, | 372 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines}}, |
| 370 options=['--', '-project', '../chrome/chrome.xcodeproj', | 373 options=['--', '-project', '../chrome/chrome.xcodeproj', |
| 371 '-target', 'ui_tests']) | 374 '-target', 'ui_tests']) |
| 372 | 375 |
| 373 f_webkit_rel_mac_valgrind = F_MAC( | 376 f_webkit_rel_mac_valgrind = F_MAC( |
| 374 'webkit-rel-mac-valgrind', | 377 'webkit-rel-mac-valgrind', |
| 375 factory_properties={ | 378 factory_properties={ |
| 376 'needs_valgrind' : True, | 379 'needs_valgrind' : True, |
| 377 'gclient_env': { 'GYP_DEFINES' : valgrind_gyp_defines } }, | 380 'gclient_env': { 'GYP_DEFINES' : valgrind_mac_gyp_defines } }, |
| 378 tests=['valgrind_test_shell'], | 381 tests=['valgrind_test_shell'], |
| 379 options=['--', '-project', | 382 options=['--', '-project', |
| 380 '../webkit/webkit.xcodeproj']) | 383 '../webkit/webkit.xcodeproj']) |
| 381 | 384 |
| 382 f_chromium_rel_chromeos_valgrind_tests_1 = F_CR_OS( | 385 f_chromium_rel_chromeos_valgrind_tests_1 = F_CR_OS( |
| 383 'chromium-rel-chromeos-valgrind-tests-1', target='Release', | 386 'chromium-rel-chromeos-valgrind-tests-1', target='Release', |
| 384 tests=['valgrind_unit', | 387 tests=['valgrind_unit', |
| 385 'valgrind_ui_1_of_4'], | 388 'valgrind_ui_1_of_4'], |
| 386 options=['unit_tests', | 389 options=['unit_tests', |
| 387 'ui_tests'], | 390 'ui_tests'], |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 c['projectName'] = ActiveMaster.project_name | 706 c['projectName'] = ActiveMaster.project_name |
| 704 c['projectURL'] = config.Master.project_url | 707 c['projectURL'] = config.Master.project_url |
| 705 | 708 |
| 706 # the 'buildbotURL' string should point to the location where the buildbot's | 709 # the 'buildbotURL' string should point to the location where the buildbot's |
| 707 # internal web server (usually the html.Waterfall page) is visible. This | 710 # internal web server (usually the html.Waterfall page) is visible. This |
| 708 # typically uses the port number set in the Waterfall 'status' entry, but | 711 # typically uses the port number set in the Waterfall 'status' entry, but |
| 709 # with an externally-visible host name which the buildbot cannot figure out | 712 # with an externally-visible host name which the buildbot cannot figure out |
| 710 # without some help. | 713 # without some help. |
| 711 | 714 |
| 712 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' | 715 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' |
| OLD | NEW |