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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_mac.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-mac-archive', 9 'build_gs_bucket': 'chromium-mac-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 28 matching lines...) Expand all
39 'checkout_dir': 'mac', 39 'checkout_dir': 'mac',
40 }, 40 },
41 'Mac10.9 Tests': { 41 'Mac10.9 Tests': {
42 'chromium_config': 'chromium', 42 'chromium_config': 'chromium',
43 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'], 43 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
44 'gclient_config': 'chromium', 44 'gclient_config': 'chromium',
45 'chromium_config_kwargs': { 45 'chromium_config_kwargs': {
46 'BUILD_CONFIG': 'Release', 46 'BUILD_CONFIG': 'Release',
47 'TARGET_BITS': 64, 47 'TARGET_BITS': 64,
48 }, 48 },
49 'test_generators': [
50 steps.generate_gtest,
51 steps.generate_script,
52 steps.generate_isolated_script,
53 ],
54 'bot_type': 'tester', 49 'bot_type': 'tester',
55 'parent_buildername': 'Mac Builder', 50 'parent_buildername': 'Mac Builder',
56 'testing': { 51 'testing': {
57 'platform': 'mac', 52 'platform': 'mac',
58 }, 53 },
59 'enable_swarming': True, 54 'enable_swarming': True,
60 'swarming_dimensions': { 55 'swarming_dimensions': {
61 'os': 'Mac-10.9', 56 'os': 'Mac-10.9',
62 }, 57 },
63 }, 58 },
64 'Mac10.10 Tests': { 59 'Mac10.10 Tests': {
65 'chromium_config': 'chromium', 60 'chromium_config': 'chromium',
66 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'], 61 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
67 'gclient_config': 'chromium', 62 'gclient_config': 'chromium',
68 'chromium_config_kwargs': { 63 'chromium_config_kwargs': {
69 'BUILD_CONFIG': 'Release', 64 'BUILD_CONFIG': 'Release',
70 'TARGET_BITS': 64, 65 'TARGET_BITS': 64,
71 }, 66 },
72 'test_generators': [
73 steps.generate_gtest,
74 steps.generate_script,
75 steps.generate_isolated_script,
76 ],
77 'bot_type': 'tester', 67 'bot_type': 'tester',
78 'parent_buildername': 'Mac Builder', 68 'parent_buildername': 'Mac Builder',
79 'testing': { 69 'testing': {
80 'platform': 'mac', 70 'platform': 'mac',
81 }, 71 },
82 'swarming_dimensions': { 72 'swarming_dimensions': {
83 'os': 'Mac-10.10', 73 'os': 'Mac-10.10',
84 }, 74 },
85 }, 75 },
86 'Mac10.11 Tests': { 76 'Mac10.11 Tests': {
87 'chromium_config': 'chromium', 77 'chromium_config': 'chromium',
88 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'], 78 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
89 'gclient_config': 'chromium', 79 'gclient_config': 'chromium',
90 'chromium_config_kwargs': { 80 'chromium_config_kwargs': {
91 'BUILD_CONFIG': 'Release', 81 'BUILD_CONFIG': 'Release',
92 'TARGET_BITS': 64, 82 'TARGET_BITS': 64,
93 }, 83 },
94 'test_generators': [
95 steps.generate_gtest,
96 steps.generate_script,
97 steps.generate_isolated_script,
98 ],
99 'bot_type': 'tester', 84 'bot_type': 'tester',
100 'parent_buildername': 'Mac Builder', 85 'parent_buildername': 'Mac Builder',
101 'testing': { 86 'testing': {
102 'platform': 'mac', 87 'platform': 'mac',
103 }, 88 },
104 }, 89 },
105 'Mac Builder (dbg)': { 90 'Mac Builder (dbg)': {
106 'chromium_config': 'chromium', 91 'chromium_config': 'chromium',
107 'chromium_apply_config': [ 92 'chromium_apply_config': [
108 'mb', 93 'mb',
(...skipping 17 matching lines...) Expand all
126 'checkout_dir': 'mac', 111 'checkout_dir': 'mac',
127 }, 112 },
128 'Mac10.9 Tests (dbg)': { 113 'Mac10.9 Tests (dbg)': {
129 'chromium_config': 'chromium', 114 'chromium_config': 'chromium',
130 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'], 115 'chromium_apply_config': ['ninja_confirm_noop', 'force_mac_toolchain'],
131 'gclient_config': 'chromium', 116 'gclient_config': 'chromium',
132 'chromium_config_kwargs': { 117 'chromium_config_kwargs': {
133 'BUILD_CONFIG': 'Debug', 118 'BUILD_CONFIG': 'Debug',
134 'TARGET_BITS': 64, 119 'TARGET_BITS': 64,
135 }, 120 },
136 'test_generators': [
137 steps.generate_gtest,
138 steps.generate_script,
139 steps.generate_isolated_script,
140 ],
141 'bot_type': 'tester', 121 'bot_type': 'tester',
142 'parent_buildername': 'Mac Builder (dbg)', 122 'parent_buildername': 'Mac Builder (dbg)',
143 'testing': { 123 'testing': {
144 'platform': 'mac', 124 'platform': 'mac',
145 }, 125 },
146 'enable_swarming': True, 126 'enable_swarming': True,
147 'swarming_dimensions': { 127 'swarming_dimensions': {
148 'os': 'Mac-10.9', 128 'os': 'Mac-10.9',
149 }, 129 },
150 }, 130 },
151 }, 131 },
152 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698