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

Side by Side Diff: content/content_browsertests.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 | « chrome/unit_tests.isolate ('k') | content/content_unittests.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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 ['use_x11==0', {
7 'variables': {
8 'command': [
9 '../testing/test_env.py',
10 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
11 '--test-launcher-bot-mode',
12 '--asan=<(asan)',
13 '--msan=<(msan)',
14 '--tsan=<(tsan)',
15 ],
16 },
17 }],
18 ['use_x11==1', {
19 'variables': {
20 'command': [
21 '../testing/xvfb.py',
22 '<(PRODUCT_DIR)',
23 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
24 '--test-launcher-bot-mode',
25 '--asan=<(asan)',
26 '--msan=<(msan)',
27 '--tsan=<(tsan)',
28 ],
29 'files': [
30 '../testing/xvfb.py',
31 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
32 ],
33 },
34 }],
6 ['OS=="android"', { 35 ['OS=="android"', {
7 'variables': { 36 'variables': {
8 'files': [ 37 'files': [
9 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', 38 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
10 ], 39 ],
11 }, 40 },
12 }], 41 }],
13 ['chromeos==1', { 42 ['chromeos==1', {
14 'variables': { 43 'variables': {
15 'files': [ 44 'files': [
(...skipping 12 matching lines...) Expand all
28 'variables': { 57 'variables': {
29 'files': [ 58 'files': [
30 '../media/test/data/', 59 '../media/test/data/',
31 '../net/data/', 60 '../net/data/',
32 'test/data/', 61 'test/data/',
33 ], 62 ],
34 }, 63 },
35 }], 64 }],
36 ['OS=="linux"', { 65 ['OS=="linux"', {
37 'variables': { 66 'variables': {
38 'command': [
39 '../testing/xvfb.py',
40 '<(PRODUCT_DIR)',
41 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
42 '--test-launcher-bot-mode',
43 '--asan=<(asan)',
44 '--msan=<(msan)',
45 '--tsan=<(tsan)',
46 ],
47 'files': [ 67 'files': [
48 '../testing/xvfb.py',
49 '<(PRODUCT_DIR)/content_shell.pak', 68 '<(PRODUCT_DIR)/content_shell.pak',
50 '<(PRODUCT_DIR)/libffmpegsumo.so', 69 '<(PRODUCT_DIR)/libffmpegsumo.so',
51 '<(PRODUCT_DIR)/libosmesa.so', 70 '<(PRODUCT_DIR)/libosmesa.so',
52 '<(PRODUCT_DIR)/libppapi_tests.so', 71 '<(PRODUCT_DIR)/libppapi_tests.so',
53 ], 72 ],
54 }, 73 },
55 }], 74 }],
56 ['OS=="linux" and use_ozone==0', {
57 'variables': {
58 'files': [
59 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
60 ],
61 },
62 }],
63 ['OS=="linux" or OS=="mac" or OS=="win"', { 75 ['OS=="linux" or OS=="mac" or OS=="win"', {
64 'variables': { 76 'variables': {
65 'files': [ 77 'files': [
66 '../net/tools/testserver/', 78 '../net/tools/testserver/',
67 '../ppapi/tests/test_case.html', 79 '../ppapi/tests/test_case.html',
68 '../ppapi/tests/test_page.css', 80 '../ppapi/tests/test_page.css',
69 '../testing/test_env.py', 81 '../testing/test_env.py',
70 '../third_party/pyftpdlib/', 82 '../third_party/pyftpdlib/',
71 '../third_party/pywebsocket/', 83 '../third_party/pywebsocket/',
72 '../third_party/tlslite/', 84 '../third_party/tlslite/',
(...skipping 19 matching lines...) Expand all
92 '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/', 104 '<(PRODUCT_DIR)/Content Shell Helper.app.dSYM/',
93 '<(PRODUCT_DIR)/Content Shell.app.dSYM/', 105 '<(PRODUCT_DIR)/Content Shell.app.dSYM/',
94 '<(PRODUCT_DIR)/content_browsertests.dSYM/', 106 '<(PRODUCT_DIR)/content_browsertests.dSYM/',
95 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/', 107 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
96 '<(PRODUCT_DIR)/npapi_test_plugin.plugin.dSYM/', 108 '<(PRODUCT_DIR)/npapi_test_plugin.plugin.dSYM/',
97 '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/', 109 '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
98 '<(PRODUCT_DIR)/test_netscape_plugin.plugin.dSYM/', 110 '<(PRODUCT_DIR)/test_netscape_plugin.plugin.dSYM/',
99 ], 111 ],
100 }, 112 },
101 }], 113 }],
102 ['OS=="mac" or OS=="win"', {
103 'variables': {
104 'command': [
105 '../testing/test_env.py',
106 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
107 '--test-launcher-bot-mode',
108 '--asan=<(asan)',
109 '--msan=<(msan)',
110 '--tsan=<(tsan)',
111 ],
112 },
113 }],
114 ['OS=="win"', { 114 ['OS=="win"', {
115 'variables': { 115 'variables': {
116 'files': [ 116 'files': [
117 '<(PRODUCT_DIR)/content_shell.pak', 117 '<(PRODUCT_DIR)/content_shell.pak',
118 '<(PRODUCT_DIR)/ffmpegsumo.dll', 118 '<(PRODUCT_DIR)/ffmpegsumo.dll',
119 '<(PRODUCT_DIR)/osmesa.dll', 119 '<(PRODUCT_DIR)/osmesa.dll',
120 '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll', 120 '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
121 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll', 121 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
122 '<(PRODUCT_DIR)/ppapi_tests.dll', 122 '<(PRODUCT_DIR)/ppapi_tests.dll',
123 ], 123 ],
(...skipping 12 matching lines...) Expand all
136 '<(PRODUCT_DIR)/content_browsertests.exe.pdb', 136 '<(PRODUCT_DIR)/content_browsertests.exe.pdb',
137 ], 137 ],
138 }, 138 },
139 }], 139 }],
140 ], 140 ],
141 'includes': [ 141 'includes': [
142 '../base/base.isolate', 142 '../base/base.isolate',
143 '../gin/v8.isolate', 143 '../gin/v8.isolate',
144 ], 144 ],
145 } 145 }
OLDNEW
« no previous file with comments | « chrome/unit_tests.isolate ('k') | content/content_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698