Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: masters/master.chromium.memory/master_win_cfg.py

Issue 11379003: Add Windows ASAN bots. (Closed) Base URL: http://git.chromium.org/chromium/tools/build.git@neuter
Patch Set: formatting Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: masters/master.chromium.memory/master_win_cfg.py
diff --git a/masters/master.chromium.memory/master_win_cfg.py b/masters/master.chromium.memory/master_win_cfg.py
new file mode 100644
index 0000000000000000000000000000000000000000..11fa62cc91df0b5d2958c14699fa0816647d97d8
--- /dev/null
+++ b/masters/master.chromium.memory/master_win_cfg.py
@@ -0,0 +1,116 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from master import master_config
+from master.factory import chromium_factory
+
+defaults = {}
+
+helper = master_config.Helper(defaults)
+B = helper.Builder
+F = helper.Factory
+S = helper.Scheduler
+T = helper.Triggerable
+
+win = lambda: chromium_factory.ChromiumFactory('src/out', 'win32')
+
+defaults['category'] = '4win asan'
+
+#
+# Main asan release scheduler for src/
+#
+S('win_asan_rel', branch='src', treeStableTimer=60)
+
+#
+# Triggerable scheduler for the rel asan builder
+#
+T('win_asan_rel_trigger')
+
+win_asan_archive = master_config.GetArchiveUrl('ChromiumMemory',
+ 'Win ASAN Builder',
+ 'Win_ASAN_Builder',
+ 'win32')
+
+tests_1 = [
+ 'base_unittests',
+ 'browser_tests',
+ 'cacheinvalidation_unittests',
+ 'crypto_unittests',
+ 'gpu_unittests',
+ 'jingle_unittests',
+ 'net_unittests',
+]
+
+tests_2 = [
+ 'browser_tests',
+ 'content_browsertests',
+ 'googleurl_unittests',
+ 'media_unittests',
+ 'ppapi_unittests',
+ 'printing_unittests',
+ 'remoting_unittests',
+ 'unit_tests',
+]
+
+#
+# Windows ASAN Rel Builder
+#
+win_asan_rel_options = [
+ '--compiler=goma', '--build-tool=ninja'
M-A Ruel 2012/11/28 15:07:48 Interesting, here you don't use '--'.
iannucci 2012/11/29 02:31:38 Ack... Done.
+] + tests_1 + tests_2
+
+B('Win ASAN Builder', 'win_asan_rel', 'compile', 'win_asan_rel',
+ auto_reboot=False, notify_on_missing=True)
+F('win_asan_rel', win().ChromiumASANFactory(
+ slave_type='Builder',
+ options=win_asan_rel_options,
+ compile_timeout=4800,
+ factory_properties={
+ 'asan': True,
+ 'gclient_env': {
+ 'GYP_DEFINES': (
M-A Ruel 2012/11/28 15:07:48 FYI, running: print { 'f': 'b' 'c', 'g
+ 'asan=1 win_z7=1 chromium_win_pch=0 '
+ 'component=static_library '
+ ),
+ 'GYP_GENERATORS': 'ninja',
+ },
+ 'trigger': 'win_asan_rel_trigger',
+ }))
+
+#
+# Win ASAN Rel testers
+#
+B('Win ASAN Tests (1)', 'win_asan_rel_tests_1', 'testers',
+ 'win_asan_rel_trigger', notify_on_missing=True)
+F('win_asan_rel_tests_1', win().ChromiumASANFactory(
+ slave_type='Tester',
+ build_url=win_asan_archive,
+ tests=tests_1,
+ factory_properties={
+ 'asan': True,
+ 'browser_total_shards': 2,
M-A Ruel 2012/11/28 15:07:48 Keep dict entries sorted whenever possible.
iannucci 2012/11/29 02:31:38 Done.
+ 'browser_shard_index': 1,
+ 'testing_env': {
+ 'CHROME_ALLOCATOR': 'WINHEAP',
+ },
+ }))
+
+B('Win ASAN Tests (2)', 'win_asan_rel_tests_2', 'testers',
+ 'win_asan_rel_trigger', notify_on_missing=True)
+F('win_asan_rel_tests_2', win().ChromiumASANFactory(
+ slave_type='Tester',
+ build_url=win_asan_archive,
+ tests=tests_2,
+ factory_properties={
+ 'asan': True,
+ 'browser_total_shards': 2,
+ 'browser_shard_index': 2,
+ 'testing_env': {
+ 'CHROME_ALLOCATOR': 'WINHEAP',
+ },
+ }))
+
+
+def Update(config, active_master, c):
+ return helper.Update(c)

Powered by Google App Engine
This is Rietveld 408576698