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

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: Created 5 years, 10 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',
M-A Ruel 2015/02/18 22:11:34 So when use_x11==0 is set, chrome is started inste
10 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
11 '--test-launcher-bot-mode',
12 '--asan=<(asan)',
13 '--lsan=<(lsan)',
14 '--msan=<(msan)',
15 '--tsan=<(tsan)',
16 ],
17 },
18 }],
19 ['use_x11==1', {
7 'variables': { 20 'variables': {
8 'command': [ 21 'command': [
9 '../testing/xvfb.py', 22 '../testing/xvfb.py',
10 '<(PRODUCT_DIR)', 23 '<(PRODUCT_DIR)',
11 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', 24 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
12 '--test-launcher-bot-mode', 25 '--test-launcher-bot-mode',
13 '--asan=<(asan)', 26 '--asan=<(asan)',
14 '--lsan=<(lsan)', 27 '--lsan=<(lsan)',
15 '--msan=<(msan)', 28 '--msan=<(msan)',
16 '--tsan=<(tsan)', 29 '--tsan=<(tsan)',
17 ], 30 ],
18 'files': [ 31 'files': [
19 '../testing/xvfb.py', 32 '../testing/xvfb.py',
33 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34 ],
35 },
36 }],
37 ['OS=="linux"', {
38 'variables': {
39 'files': [
20 '<(PRODUCT_DIR)/libclearkeycdm.so', 40 '<(PRODUCT_DIR)/libclearkeycdm.so',
21 '<(PRODUCT_DIR)/libclearkeycdmadapter.so', 41 '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
22 '<(PRODUCT_DIR)/libppapi_tests.so', 42 '<(PRODUCT_DIR)/libppapi_tests.so',
23 ], 43 ],
24 }, 44 },
25 }], 45 }],
26 ['OS=="linux" and use_ozone==0', {
27 'variables': {
28 'files': [
29 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
30 ],
31 },
32 }],
33 ['OS=="linux" and libpeer_target_type=="loadable_module"', { 46 ['OS=="linux" and libpeer_target_type=="loadable_module"', {
34 'variables': { 47 'variables': {
35 'files': [ 48 'files': [
36 '<(PRODUCT_DIR)/lib/libpeerconnection.so', 49 '<(PRODUCT_DIR)/lib/libpeerconnection.so',
37 ], 50 ],
38 }, 51 },
39 }], 52 }],
40 ['OS=="linux" or OS=="mac" or OS=="win"', { 53 ['OS=="linux" or OS=="mac" or OS=="win"', {
41 'variables': { 54 'variables': {
42 'files': [ 55 'files': [
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin', 174 '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
162 '<(PRODUCT_DIR)/content_shell.pak', 175 '<(PRODUCT_DIR)/content_shell.pak',
163 '<(PRODUCT_DIR)/libclearkeycdm.dylib', 176 '<(PRODUCT_DIR)/libclearkeycdm.dylib',
164 '<(PRODUCT_DIR)/osmesa.so', 177 '<(PRODUCT_DIR)/osmesa.so',
165 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/', 178 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
166 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/', 179 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
167 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 180 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
168 ], 181 ],
169 }, 182 },
170 }], 183 }],
171 ['OS=="mac" or OS=="win"', {
172 'variables': {
173 'command': [
174 '../testing/test_env.py',
175 '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
176 '--test-launcher-bot-mode',
177 '--asan=<(asan)',
178 '--lsan=<(lsan)',
179 '--msan=<(msan)',
180 '--tsan=<(tsan)',
181 ],
182 },
183 }],
184 ['OS=="win"', { 184 ['OS=="win"', {
185 'variables': { 185 'variables': {
186 'files': [ 186 'files': [
187 '../native_client/build/build_nexe.py', 187 '../native_client/build/build_nexe.py',
188 '<(PRODUCT_DIR)/chrome_elf.dll', 188 '<(PRODUCT_DIR)/chrome_elf.dll',
189 '<(PRODUCT_DIR)/clearkeycdm.dll', 189 '<(PRODUCT_DIR)/clearkeycdm.dll',
190 '<(PRODUCT_DIR)/clearkeycdmadapter.dll', 190 '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
191 '<(PRODUCT_DIR)/plugins/', 191 '<(PRODUCT_DIR)/plugins/',
192 '<(PRODUCT_DIR)/ppapi_tests.dll', 192 '<(PRODUCT_DIR)/ppapi_tests.dll',
193 'tools/build/repack_locales.py', 193 'tools/build/repack_locales.py',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 'browser/chromeos/login/test/https_forwarder.py', 243 'browser/chromeos/login/test/https_forwarder.py',
244 ], 244 ],
245 }, 245 },
246 }], 246 }],
247 ], 247 ],
248 'includes': [ 248 'includes': [
249 '../base/base.isolate', 249 '../base/base.isolate',
250 'chrome.isolate', 250 'chrome.isolate',
251 ], 251 ],
252 } 252 }
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