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

Side by Side Diff: chrome/interactive_ui_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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 ['OS=="linux"', { 6 ['use_x11==0', {
7 'variables': {
8 'command': [
9 '../testing/test_env.py',
10 '<(PRODUCT_DIR)/interactive_ui_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)/interactive_ui_tests<(EXECUTABLE_SUFFIX)', 24 '<(PRODUCT_DIR)/interactive_ui_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)/libffmpegsumo.so', 40 '<(PRODUCT_DIR)/libffmpegsumo.so',
21 '<(PRODUCT_DIR)/libosmesa.so', 41 '<(PRODUCT_DIR)/libosmesa.so',
22 '<(PRODUCT_DIR)/libppapi_tests.so', 42 '<(PRODUCT_DIR)/libppapi_tests.so',
23 '<(PRODUCT_DIR)/pyproto/google/', 43 '<(PRODUCT_DIR)/pyproto/google/',
24 ], 44 ],
25 }, 45 },
26 }], 46 }],
27 ['OS=="linux" and use_ozone==0', {
28 'variables': {
29 'files': [
30 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
31 ],
32 },
33 }],
34 ['OS=="linux" or OS=="mac" or OS=="win"', { 47 ['OS=="linux" or OS=="mac" or OS=="win"', {
35 'variables': { 48 'variables': {
36 'files': [ 49 'files': [
37 '../net/data/ssl/certificates/', 50 '../net/data/ssl/certificates/',
38 '../net/tools/testserver/', 51 '../net/tools/testserver/',
39 '../ppapi/tests/test_case.html', 52 '../ppapi/tests/test_case.html',
40 '../ppapi/tests/test_page.css', 53 '../ppapi/tests/test_page.css',
41 '../testing/test_env.py', 54 '../testing/test_env.py',
42 '../third_party/pyftpdlib/', 55 '../third_party/pyftpdlib/',
43 '../third_party/pywebsocket/', 56 '../third_party/pywebsocket/',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 'files': [ 88 'files': [
76 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/', 89 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
77 '<(PRODUCT_DIR)/<(mac_product_name).app.dSYM/', 90 '<(PRODUCT_DIR)/<(mac_product_name).app.dSYM/',
78 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/', 91 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
79 '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/', 92 '<(PRODUCT_DIR)/interactive_ui_tests.dSYM/',
80 '<(PRODUCT_DIR)/osmesa.so.dSYM/', 93 '<(PRODUCT_DIR)/osmesa.so.dSYM/',
81 '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/', 94 '<(PRODUCT_DIR)/ppapi_tests.plugin.dSYM/',
82 ], 95 ],
83 }, 96 },
84 }], 97 }],
85 ['OS=="mac" or OS=="win"', {
86 'variables': {
87 'command': [
88 '../testing/test_env.py',
89 '<(PRODUCT_DIR)/interactive_ui_tests<(EXECUTABLE_SUFFIX)',
90 '--test-launcher-bot-mode',
91 '--asan=<(asan)',
92 '--lsan=<(lsan)',
93 '--msan=<(msan)',
94 '--tsan=<(tsan)',
95 ],
96 },
97 }],
98 ['OS=="win"', { 98 ['OS=="win"', {
99 'variables': { 99 'variables': {
100 'files': [ 100 'files': [
101 '<(PRODUCT_DIR)/chrome_elf.dll', 101 '<(PRODUCT_DIR)/chrome_elf.dll',
102 '<(PRODUCT_DIR)/d3dcompiler_47.dll', 102 '<(PRODUCT_DIR)/d3dcompiler_47.dll',
103 '<(PRODUCT_DIR)/ffmpegsumo.dll', 103 '<(PRODUCT_DIR)/ffmpegsumo.dll',
104 '<(PRODUCT_DIR)/libEGL.dll', 104 '<(PRODUCT_DIR)/libEGL.dll',
105 '<(PRODUCT_DIR)/libGLESv2.dll', 105 '<(PRODUCT_DIR)/libGLESv2.dll',
106 '<(PRODUCT_DIR)/osmesa.dll', 106 '<(PRODUCT_DIR)/osmesa.dll',
107 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll', 107 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
(...skipping 26 matching lines...) Expand all
134 '<(PRODUCT_DIR)/resources/chromeos/', 134 '<(PRODUCT_DIR)/resources/chromeos/',
135 ], 135 ],
136 }, 136 },
137 }], 137 }],
138 ], 138 ],
139 'includes': [ 139 'includes': [
140 '../base/base.isolate', 140 '../base/base.isolate',
141 '../gin/v8.isolate', 141 '../gin/v8.isolate',
142 ], 142 ],
143 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698