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

Side by Side Diff: chrome/sync_integration_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 | « chrome/interactive_ui_tests.isolate ('k') | chrome/unit_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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)',
10 '--test-launcher-bot-mode',
11 ],
12 },
13 }],
14 ['use_x11==1', {
7 'variables': { 15 'variables': {
8 'command': [ 16 'command': [
9 '../testing/xvfb.py', 17 '../testing/xvfb.py',
10 '<(PRODUCT_DIR)', 18 '<(PRODUCT_DIR)',
11 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)', 19 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)',
12 '--test-launcher-bot-mode', 20 '--test-launcher-bot-mode',
13 ], 21 ],
14 'files': [ 22 'files': [
15 '../testing/test_env.py', 23 '../testing/test_env.py',
16 '../testing/xvfb.py', 24 '../testing/xvfb.py',
25 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
26 ],
27 },
28 }],
29 ['OS=="linux"', {
30 'variables': {
31 'files': [
17 '<(PRODUCT_DIR)/libffmpegsumo.so', 32 '<(PRODUCT_DIR)/libffmpegsumo.so',
18 '<(PRODUCT_DIR)/libosmesa.so', 33 '<(PRODUCT_DIR)/libosmesa.so',
19 ], 34 ],
20 }, 35 },
21 }], 36 }],
22 ['OS=="linux" and use_ozone==0', {
23 'variables': {
24 'files': [
25 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
26 ],
27 },
28 }],
29 ['OS=="linux" or OS=="win"', { 37 ['OS=="linux" or OS=="win"', {
30 'variables': { 38 'variables': {
31 'files': [ 39 'files': [
32 '<(PRODUCT_DIR)/chrome_100_percent.pak', 40 '<(PRODUCT_DIR)/chrome_100_percent.pak',
33 '<(PRODUCT_DIR)/locales/en-US.pak', 41 '<(PRODUCT_DIR)/locales/en-US.pak',
34 ], 42 ],
35 }, 43 },
36 }], 44 }],
37 ['OS=="linux" or OS=="mac" or OS=="win"', { 45 ['OS=="linux" or OS=="mac" or OS=="win"', {
38 'variables': { 46 'variables': {
39 'files': [ 47 'files': [
40 '../chrome/test/data/sync/', 48 '../chrome/test/data/sync/',
41 '../net/tools/testserver/', 49 '../net/tools/testserver/',
42 '../sync/tools/testserver/', 50 '../sync/tools/testserver/',
43 '../third_party/pyftpdlib/', 51 '../third_party/pyftpdlib/',
44 '../third_party/pywebsocket/', 52 '../third_party/pywebsocket/',
45 '../third_party/tlslite/', 53 '../third_party/tlslite/',
46 '<(PRODUCT_DIR)/pyproto/', 54 '<(PRODUCT_DIR)/pyproto/',
47 '<(PRODUCT_DIR)/resources.pak', 55 '<(PRODUCT_DIR)/resources.pak',
48 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)', 56 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)',
49 ], 57 ],
50 }, 58 },
51 }], 59 }],
52 ['OS=="mac" or OS=="win"', {
53 'variables': {
54 'command': [
55 '<(PRODUCT_DIR)/sync_integration_tests<(EXECUTABLE_SUFFIX)',
56 '--test-launcher-bot-mode',
57 ],
58 },
59 }],
60 ['OS=="mac"', { 60 ['OS=="mac"', {
61 'variables': { 61 'variables': {
62 'files': [ 62 'files': [
63 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/', 63 '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
64 '<(PRODUCT_DIR)/<(mac_product_name).app/', 64 '<(PRODUCT_DIR)/<(mac_product_name).app/',
65 '<(PRODUCT_DIR)/ffmpegsumo.so', 65 '<(PRODUCT_DIR)/ffmpegsumo.so',
66 ], 66 ],
67 }, 67 },
68 }], 68 }],
69 ['OS=="mac" and asan==1 and fastbuild==0', { 69 ['OS=="mac" and asan==1 and fastbuild==0', {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 '<(PRODUCT_DIR)/libexif.so', 103 '<(PRODUCT_DIR)/libexif.so',
104 ], 104 ],
105 }, 105 },
106 }], 106 }],
107 ], 107 ],
108 'includes': [ 108 'includes': [
109 '../base/base.isolate', 109 '../base/base.isolate',
110 '../gin/v8.isolate', 110 '../gin/v8.isolate',
111 ], 111 ],
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/interactive_ui_tests.isolate ('k') | chrome/unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698