Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 from master import master_config | |
| 6 from master.factory import chromium_factory | |
| 7 | |
| 8 defaults = {} | |
| 9 | |
| 10 helper = master_config.Helper(defaults) | |
| 11 B = helper.Builder | |
| 12 F = helper.Factory | |
| 13 S = helper.Scheduler | |
| 14 T = helper.Triggerable | |
| 15 | |
| 16 def win(): | |
| 17 return chromium_factory.ChromiumFactory('src/out', 'win32') | |
| 18 | |
| 19 defaults['category'] = '4win asan' | |
| 20 | |
| 21 # | |
| 22 # Main asan release scheduler for src/ | |
| 23 # | |
| 24 S('win_asan_rel', branch='src', treeStableTimer=60) | |
| 25 | |
| 26 # | |
| 27 # Triggerable scheduler for the rel asan builder | |
| 28 # | |
| 29 T('win_asan_rel_trigger') | |
| 30 | |
| 31 win_asan_archive = master_config.GetArchiveUrl('ChromiumMemory', | |
| 32 'Win ASAN Builder', | |
| 33 'Win_ASAN_Builder', | |
| 34 'win32') | |
| 35 | |
| 36 tests_1 = [ | |
| 37 'base_unittests', | |
| 38 'browser_tests', | |
| 39 'cacheinvalidation_unittests', | |
| 40 'crypto_unittests', | |
| 41 'gpu_unittests', | |
| 42 'jingle_unittests', | |
| 43 'net_unittests', | |
| 44 ] | |
| 45 | |
| 46 tests_2 = [ | |
| 47 'browser_tests', | |
| 48 'content_browsertests', | |
| 49 'googleurl_unittests', | |
| 50 'media_unittests', | |
| 51 'ppapi_unittests', | |
| 52 'printing_unittests', | |
| 53 'remoting_unittests', | |
| 54 'unit_tests', | |
| 55 ] | |
|
M-A Ruel
2012/11/27 20:40:15
At +0 please
iannucci
2012/11/28 03:19:34
Done.
| |
| 56 | |
| 57 # | |
| 58 # Windows ASAN Rel Builder | |
| 59 # | |
| 60 win_asan_rel_options = [ | |
| 61 '--compiler=goma', | |
|
M-A Ruel
2012/11/27 20:40:15
alignment is excessive. Is your text editor angry?
iannucci
2012/11/28 03:19:34
Yeah... I think so
| |
| 62 '--build-tool=ninja', | |
| 63 ] + tests_1 + tests_2 | |
| 64 | |
| 65 B('Win ASAN Builder', 'win_asan_rel', 'compile', 'win_asan_rel', | |
| 66 auto_reboot=False, notify_on_missing=True) | |
| 67 F('win_asan_rel', win().ChromiumASANFactory( | |
| 68 slave_type='Builder', | |
| 69 options=win_asan_rel_options, | |
| 70 compile_timeout=4800, | |
| 71 factory_properties={ | |
| 72 'asan': True, | |
| 73 'gclient_env': { | |
| 74 'GYP_DEFINES': ( | |
| 75 'asan=1 win_z7=1 chromium_win_pch=0 ' | |
| 76 'component=static_library '), | |
| 77 'GYP_GENERATORS': 'ninja', }, | |
| 78 'trigger': 'win_asan_rel_trigger' })) | |
| 79 | |
| 80 # | |
| 81 # Win ASAN Rel testers | |
| 82 # | |
| 83 B('Win ASAN Tests (1)', 'win_asan_rel_tests_1', 'testers', | |
| 84 'win_asan_rel_trigger', notify_on_missing=True) | |
| 85 F('win_asan_rel_tests_1', win().ChromiumASANFactory( | |
| 86 slave_type='Tester', | |
| 87 build_url=win_asan_archive, | |
| 88 tests=tests_1, | |
| 89 factory_properties={ | |
| 90 'asan': True, | |
| 91 'browser_total_shards': 2, | |
| 92 'browser_shard_index': 1, | |
| 93 'testing_env': { | |
| 94 'CHROME_ALLOCATOR': 'WINHEAP'}})) | |
| 95 | |
| 96 B('Win ASAN Tests (2)', 'win_asan_rel_tests_2', 'testers', | |
| 97 'win_asan_rel_trigger', notify_on_missing=True) | |
| 98 F('win_asan_rel_tests_2', win().ChromiumASANFactory( | |
| 99 slave_type='Tester', | |
| 100 build_url=win_asan_archive, | |
| 101 tests=tests_2, | |
| 102 factory_properties={ | |
| 103 'asan': True, | |
| 104 'browser_total_shards': 2, | |
| 105 'browser_shard_index': 2, | |
| 106 'testing_env': { | |
| 107 'CHROME_ALLOCATOR': 'WINHEAP'}})) | |
| 108 | |
| 109 def Update(config, active_master, c): | |
| 110 return helper.Update(c) | |
| OLD | NEW |