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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_memory.py

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: Created 4 years, 3 months 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 . import steps 5 from . import steps
6 6
7 SPEC = { 7 SPEC = {
8 'settings': { 8 'settings': {
9 'build_gs_bucket': 'chromium-memory-archive', 9 'build_gs_bucket': 'chromium-memory-archive',
10 # WARNING: src-side runtest.py is only tested with chromium CQ builders. 10 # WARNING: src-side runtest.py is only tested with chromium CQ builders.
(...skipping 21 matching lines...) Expand all
32 'chromium_config': 'chromium_linux_asan', 32 'chromium_config': 'chromium_linux_asan',
33 'gclient_config': 'chromium', 33 'gclient_config': 'chromium',
34 'chromium_config_kwargs': { 34 'chromium_config_kwargs': {
35 'BUILD_CONFIG': 'Release', 35 'BUILD_CONFIG': 'Release',
36 'TARGET_BITS': 64, 36 'TARGET_BITS': 64,
37 }, 37 },
38 # Enable LSan at runtime. This disables the sandbox in browser tests. 38 # Enable LSan at runtime. This disables the sandbox in browser tests.
39 # http://crbug.com/336218 39 # http://crbug.com/336218
40 'chromium_apply_config': ['lsan'], 40 'chromium_apply_config': ['lsan'],
41 'bot_type': 'tester', 41 'bot_type': 'tester',
42 'test_generators': [
43 steps.generate_gtest,
ghost stip (do not use) 2016/09/22 23:25:49 eugenis: fyi, this shouldn't affect anything
44 steps.generate_script,
45 steps.generate_isolated_script,
46 ],
47 'parent_buildername': 'Linux ASan LSan Builder', 42 'parent_buildername': 'Linux ASan LSan Builder',
48 'testing': {'platform': 'linux'}, 43 'testing': {'platform': 'linux'},
49 'enable_swarming': True, 44 'enable_swarming': True,
50 }, 45 },
51 'Linux ASan Tests (sandboxed)': { 46 'Linux ASan Tests (sandboxed)': {
52 'chromium_config': 'chromium_linux_asan', 47 'chromium_config': 'chromium_linux_asan',
53 'gclient_config': 'chromium', 48 'gclient_config': 'chromium',
54 'chromium_config_kwargs': { 49 'chromium_config_kwargs': {
55 'BUILD_CONFIG': 'Release', 50 'BUILD_CONFIG': 'Release',
56 'TARGET_BITS': 64, 51 'TARGET_BITS': 64,
57 }, 52 },
58 # We want to test ASan+sandbox as well, so run browser tests again, this 53 # We want to test ASan+sandbox as well, so run browser tests again, this
59 # time with LSan disabled. 54 # time with LSan disabled.
60 'bot_type': 'tester', 55 'bot_type': 'tester',
61 'test_generators': [
62 steps.generate_gtest,
63 steps.generate_script,
64 steps.generate_isolated_script,
65 ],
66 'parent_buildername': 'Linux ASan LSan Builder', 56 'parent_buildername': 'Linux ASan LSan Builder',
67 'testing': {'platform': 'linux'}, 57 'testing': {'platform': 'linux'},
68 'enable_swarming': True, 58 'enable_swarming': True,
69 }, 59 },
70 'Mac ASan 64 Builder': { 60 'Mac ASan 64 Builder': {
71 'chromium_config': 'chromium_mac_asan', 61 'chromium_config': 'chromium_mac_asan',
72 'gclient_config': 'chromium', 62 'gclient_config': 'chromium',
73 'chromium_config_kwargs': { 63 'chromium_config_kwargs': {
74 'BUILD_CONFIG': 'Release', 64 'BUILD_CONFIG': 'Release',
75 'TARGET_BITS': 64, 65 'TARGET_BITS': 64,
76 }, 66 },
77 'chromium_apply_config': ['mb'], 67 'chromium_apply_config': ['mb'],
78 'bot_type': 'builder', 68 'bot_type': 'builder',
79 'testing': {'platform': 'mac'}, 69 'testing': {'platform': 'mac'},
80 'enable_swarming': True, 70 'enable_swarming': True,
81 'use_isolate': True, 71 'use_isolate': True,
82 'checkout_dir': 'mac_ng', 72 'checkout_dir': 'mac_ng',
83 }, 73 },
84 'Mac ASan 64 Tests (1)': { 74 'Mac ASan 64 Tests (1)': {
85 'chromium_config': 'chromium_mac_asan', 75 'chromium_config': 'chromium_mac_asan',
86 'gclient_config': 'chromium', 76 'gclient_config': 'chromium',
87 'chromium_config_kwargs': { 77 'chromium_config_kwargs': {
88 'BUILD_CONFIG': 'Release', 78 'BUILD_CONFIG': 'Release',
89 'TARGET_BITS': 64, 79 'TARGET_BITS': 64,
90 }, 80 },
91 'bot_type': 'tester', 81 'bot_type': 'tester',
92 'test_generators': [
93 steps.generate_gtest,
94 steps.generate_script,
95 steps.generate_isolated_script,
96 ],
97 'parent_buildername': 'Mac ASan 64 Builder', 82 'parent_buildername': 'Mac ASan 64 Builder',
98 'testing': {'platform': 'mac'}, 83 'testing': {'platform': 'mac'},
99 'enable_swarming': True, 84 'enable_swarming': True,
100 }, 85 },
101 'Linux Chromium OS ASan LSan Builder': { 86 'Linux Chromium OS ASan LSan Builder': {
102 'chromium_config': 'chromium_chromiumos_asan', 87 'chromium_config': 'chromium_chromiumos_asan',
103 'gclient_config': 'chromium', 88 'gclient_config': 'chromium',
104 'chromium_config_kwargs': { 89 'chromium_config_kwargs': {
105 'BUILD_CONFIG': 'Release', 90 'BUILD_CONFIG': 'Release',
106 'TARGET_BITS': 64, 91 'TARGET_BITS': 64,
107 }, 92 },
108 'chromium_apply_config': ['lsan', 'mb'], 93 'chromium_apply_config': ['lsan', 'mb'],
109 'bot_type': 'builder', 94 'bot_type': 'builder',
110 'testing': {'platform': 'linux'}, 95 'testing': {'platform': 'linux'},
111 'enable_swarming': True, 96 'enable_swarming': True,
112 'use_isolate': True, 97 'use_isolate': True,
113 }, 98 },
114 'Linux Chromium OS ASan LSan Tests (1)': { 99 'Linux Chromium OS ASan LSan Tests (1)': {
115 'chromium_config': 'chromium_chromiumos_asan', 100 'chromium_config': 'chromium_chromiumos_asan',
116 'gclient_config': 'chromium', 101 'gclient_config': 'chromium',
117 'chromium_config_kwargs': { 102 'chromium_config_kwargs': {
118 'BUILD_CONFIG': 'Release', 103 'BUILD_CONFIG': 'Release',
119 'TARGET_BITS': 64, 104 'TARGET_BITS': 64,
120 }, 105 },
121 'chromium_apply_config': ['lsan'], 106 'chromium_apply_config': ['lsan'],
122 'test_generators': [
123 steps.generate_gtest,
124 steps.generate_script,
125 steps.generate_isolated_script,
126 ],
127 'parent_buildername': 'Linux Chromium OS ASan LSan Builder', 107 'parent_buildername': 'Linux Chromium OS ASan LSan Builder',
128 'bot_type': 'tester', 108 'bot_type': 'tester',
129 'testing': {'platform': 'linux'}, 109 'testing': {'platform': 'linux'},
130 'enable_swarming': True, 110 'enable_swarming': True,
131 }, 111 },
132 }, 112 },
133 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698