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

Side by Side Diff: chrome/browser_tests.isolate

Issue 908313004: Use Xvfb in isolated testing only if use_x11 is set (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments from maruel@ Created 5 years, 9 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
« no previous file with comments | « build/isolate.gypi ('k') | chrome/interactive_ui_tests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 'conditions': [ 5 'conditions': [
6 ['OS=="linux"', { 6 ['use_x11==0', {
7 'variables': {
8 'command': [
9 '../testing/test_env.py',
10 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
11 '--test-launcher-bot-mode',
12 '--asan=<(asan)',
13 '--msan=<(msan)',
14 '--tsan=<(tsan)',
15 ],
16 },
17 }],
18 ['use_x11==1', {
7 'variables': { 19 'variables': {
8 'command': [ 20 'command': [
9 '../testing/xvfb.py', 21 '../testing/xvfb.py',
10 '<(PRODUCT_DIR)', 22 '<(PRODUCT_DIR)',
11 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 23 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
12 '--test-launcher-bot-mode', 24 '--test-launcher-bot-mode',
13 '--asan=<(asan)', 25 '--asan=<(asan)',
14 '--msan=<(msan)', 26 '--msan=<(msan)',
15 '--tsan=<(tsan)', 27 '--tsan=<(tsan)',
16 ], 28 ],
17 'files': [ 29 'files': [
18 '../testing/xvfb.py', 30 '../testing/xvfb.py',
31 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
32 ],
33 },
34 }],
35 ['OS=="linux"', {
36 'variables': {
37 'files': [
19 '<(PRODUCT_DIR)/libclearkeycdm.so', 38 '<(PRODUCT_DIR)/libclearkeycdm.so',
20 '<(PRODUCT_DIR)/libclearkeycdmadapter.so', 39 '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
21 '<(PRODUCT_DIR)/libppapi_tests.so', 40 '<(PRODUCT_DIR)/libppapi_tests.so',
22 ], 41 ],
23 }, 42 },
24 }], 43 }],
25 ['OS=="linux" and use_ozone==0', {
26 'variables': {
27 'files': [
28 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
29 ],
30 },
31 }],
32 ['OS=="linux" and libpeer_target_type=="loadable_module"', { 44 ['OS=="linux" and libpeer_target_type=="loadable_module"', {
33 'variables': { 45 'variables': {
34 'files': [ 46 'files': [
35 '<(PRODUCT_DIR)/lib/libpeerconnection.so', 47 '<(PRODUCT_DIR)/lib/libpeerconnection.so',
36 ], 48 ],
37 }, 49 },
38 }], 50 }],
39 ['OS=="linux" or OS=="mac" or OS=="win"', { 51 ['OS=="linux" or OS=="mac" or OS=="win"', {
40 'variables': { 52 'variables': {
41 'files': [ 53 'files': [
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin', 175 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
164 '<(PRODUCT_DIR)/content_shell.pak', 176 '<(PRODUCT_DIR)/content_shell.pak',
165 '<(PRODUCT_DIR)/libclearkeycdm.dylib', 177 '<(PRODUCT_DIR)/libclearkeycdm.dylib',
166 '<(PRODUCT_DIR)/osmesa.so', 178 '<(PRODUCT_DIR)/osmesa.so',
167 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/', 179 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
168 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/', 180 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
169 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 181 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
170 ], 182 ],
171 }, 183 },
172 }], 184 }],
173 ['OS=="mac" or OS=="win"', {
174 'variables': {
175 'command': [
176 '../testing/test_env.py',
177 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
178 '--test-launcher-bot-mode',
179 '--asan=<(asan)',
180 '--msan=<(msan)',
181 '--tsan=<(tsan)',
182 ],
183 },
184 }],
185 ['OS=="win"', { 185 ['OS=="win"', {
186 'variables': { 186 'variables': {
187 'files': [ 187 'files': [
188 '../native_client/build/build_nexe.py', 188 '../native_client/build/build_nexe.py',
189 '<(PRODUCT_DIR)/chrome_elf.dll', 189 '<(PRODUCT_DIR)/chrome_elf.dll',
190 '<(PRODUCT_DIR)/clearkeycdm.dll', 190 '<(PRODUCT_DIR)/clearkeycdm.dll',
191 '<(PRODUCT_DIR)/clearkeycdmadapter.dll', 191 '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
192 '<(PRODUCT_DIR)/plugins/', 192 '<(PRODUCT_DIR)/plugins/',
193 '<(PRODUCT_DIR)/ppapi_tests.dll', 193 '<(PRODUCT_DIR)/ppapi_tests.dll',
194 'tools/build/repack_locales.py', 194 'tools/build/repack_locales.py',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 'browser/chromeos/login/test/https_forwarder.py', 238 'browser/chromeos/login/test/https_forwarder.py',
239 ], 239 ],
240 }, 240 },
241 }], 241 }],
242 ], 242 ],
243 'includes': [ 243 'includes': [
244 '../base/base.isolate', 244 '../base/base.isolate',
245 'chrome.isolate', 245 'chrome.isolate',
246 ], 246 ],
247 } 247 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | chrome/interactive_ui_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698