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

Side by Side Diff: content/content_browsertests.isolate

Issue 813363003: Use Xvfb in isolated testing only if use_x11 is set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update isolator.py Created 5 years, 11 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 ['OS=="android"', { 6 ['OS=="android"', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
9 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak', 9 '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
10 ], 10 ],
(...skipping 15 matching lines...) Expand all
26 }], 26 }],
27 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 27 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
28 'variables': { 28 'variables': {
29 'files': [ 29 'files': [
30 '../media/test/data/', 30 '../media/test/data/',
31 '../net/data/', 31 '../net/data/',
32 'test/data/', 32 'test/data/',
33 ], 33 ],
34 }, 34 },
35 }], 35 }],
36 ['OS=="linux"', { 36 ['use_x11==0', {
37 'variables': {
38 'command': [
39 '../testing/test_env.py',
40 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
41 '--test-launcher-bot-mode',
42 '--asan=<(asan)',
43 '--lsan=<(lsan)',
44 ],
45 },
46 }],
47 ['use_x11==1', {
37 'variables': { 48 'variables': {
38 'command': [ 49 'command': [
39 '../testing/xvfb.py', 50 '../testing/xvfb.py',
40 '<(PRODUCT_DIR)', 51 '<(PRODUCT_DIR)',
41 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', 52 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
42 '--test-launcher-bot-mode', 53 '--test-launcher-bot-mode',
43 '--asan=<(asan)', 54 '--asan=<(asan)',
44 '--lsan=<(lsan)', 55 '--lsan=<(lsan)',
45 ], 56 ],
46 'files': [ 57 'files': [
47 '../testing/xvfb.py', 58 '../testing/xvfb.py',
59 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
60 ],
61 },
62 }],
63 ['OS=="linux"', {
64 'variables': {
65 'files': [
48 '<(PRODUCT_DIR)/content_shell.pak', 66 '<(PRODUCT_DIR)/content_shell.pak',
49 '<(PRODUCT_DIR)/libffmpegsumo.so', 67 '<(PRODUCT_DIR)/libffmpegsumo.so',
50 '<(PRODUCT_DIR)/libosmesa.so', 68 '<(PRODUCT_DIR)/libosmesa.so',
51 '<(PRODUCT_DIR)/libppapi_tests.so', 69 '<(PRODUCT_DIR)/libppapi_tests.so',
52 ], 70 ],
53 }, 71 },
54 }], 72 }],
55 ['OS=="linux" and use_ozone==0', {
56 'variables': {
57 'files': [
58 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
59 ],
60 },
61 }],
62 ['OS=="linux" or OS=="mac" or OS=="win"', { 73 ['OS=="linux" or OS=="mac" or OS=="win"', {
63 'variables': { 74 'variables': {
64 'files': [ 75 'files': [
65 '../net/tools/testserver/', 76 '../net/tools/testserver/',
66 '../ppapi/tests/test_case.html', 77 '../ppapi/tests/test_case.html',
67 '../ppapi/tests/test_page.css', 78 '../ppapi/tests/test_page.css',
68 '../testing/test_env.py', 79 '../testing/test_env.py',
69 '../third_party/pyftpdlib/', 80 '../third_party/pyftpdlib/',
70 '../third_party/pywebsocket/', 81 '../third_party/pywebsocket/',
71 '../third_party/tlslite/', 82 '../third_party/tlslite/',
72 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', 83 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
73 ], 84 ],
74 }, 85 },
75 }], 86 }],
76 ['OS=="mac"', { 87 ['OS=="mac"', {
77 'variables': { 88 'variables': {
78 'files': [ 89 'files': [
79 '<(PRODUCT_DIR)/Content Shell.app/', 90 '<(PRODUCT_DIR)/Content Shell.app/',
80 '<(PRODUCT_DIR)/ffmpegsumo.so', 91 '<(PRODUCT_DIR)/ffmpegsumo.so',
81 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/', 92 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
82 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/', 93 '<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
83 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests', 94 '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
84 ], 95 ],
85 }, 96 },
86 }], 97 }],
87 ['OS=="mac" or OS=="win"', {
88 'variables': {
89 'command': [
90 '../testing/test_env.py',
91 '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
92 '--test-launcher-bot-mode',
93 '--asan=<(asan)',
94 '--lsan=<(lsan)',
95 ],
96 },
97 }],
98 ['OS=="win"', { 98 ['OS=="win"', {
99 'variables': { 99 'variables': {
100 'files': [ 100 'files': [
101 '<(PRODUCT_DIR)/content_shell.pak', 101 '<(PRODUCT_DIR)/content_shell.pak',
102 '<(PRODUCT_DIR)/ffmpegsumo.dll', 102 '<(PRODUCT_DIR)/ffmpegsumo.dll',
103 '<(PRODUCT_DIR)/osmesa.dll', 103 '<(PRODUCT_DIR)/osmesa.dll',
104 '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll', 104 '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
105 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll', 105 '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
106 '<(PRODUCT_DIR)/ppapi_tests.dll', 106 '<(PRODUCT_DIR)/ppapi_tests.dll',
107 ], 107 ],
(...skipping 12 matching lines...) Expand all
120 '<(PRODUCT_DIR)/content_browsertests.exe.pdb', 120 '<(PRODUCT_DIR)/content_browsertests.exe.pdb',
121 ], 121 ],
122 }, 122 },
123 }], 123 }],
124 ], 124 ],
125 'includes': [ 125 'includes': [
126 '../base/base.isolate', 126 '../base/base.isolate',
127 '../gin/v8.isolate', 127 '../gin/v8.isolate',
128 ], 128 ],
129 } 129 }
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