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

Side by Side Diff: content/content_unittests.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 | « content/content_browsertests.isolate ('k') | ui/app_list/app_list_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_unittests<(EXECUTABLE_SUFFIX)',
11 '--brave-new-test-launcher',
12 '--test-launcher-bot-mode',
13 '--asan=<(asan)',
14 '--msan=<(msan)',
15 '--tsan=<(tsan)',
16 ],
17 },
18 }],
19 ['use_x11==1', {
20 'variables': {
21 'command': [
22 '../testing/xvfb.py',
23 '<(PRODUCT_DIR)',
24 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
25 '--brave-new-test-launcher',
26 '--test-launcher-bot-mode',
27 '--asan=<(asan)',
28 '--msan=<(msan)',
29 '--tsan=<(tsan)',
30 ],
31 'files': [
32 '../testing/xvfb.py',
33 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34 ],
35 },
36 }],
6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 37 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
7 'variables': { 38 'variables': {
8 'files': [ 39 'files': [
9 '../net/data/ssl/certificates/', 40 '../net/data/ssl/certificates/',
10 '../media/test/data/', 41 '../media/test/data/',
11 'test/data/', 42 'test/data/',
12 ], 43 ],
13 }, 44 },
14 }], 45 }],
15 ['OS=="android"', { 46 ['OS=="android"', {
(...skipping 13 matching lines...) Expand all
29 ['OS=="linux" or OS=="mac" or OS=="win"', { 60 ['OS=="linux" or OS=="mac" or OS=="win"', {
30 'variables': { 61 'variables': {
31 'files': [ 62 'files': [
32 '../testing/test_env.py', 63 '../testing/test_env.py',
33 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', 64 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
34 ], 65 ],
35 }, 66 },
36 }], 67 }],
37 ['OS=="linux"', { 68 ['OS=="linux"', {
38 'variables': { 69 'variables': {
39 'command': [
40 '../testing/xvfb.py',
41 '<(PRODUCT_DIR)',
42 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
43 '--brave-new-test-launcher',
44 '--test-launcher-bot-mode',
45 '--asan=<(asan)',
46 '--msan=<(msan)',
47 '--tsan=<(tsan)',
48 ],
49 'files': [ 70 'files': [
50 '../testing/xvfb.py',
51 '<(PRODUCT_DIR)/libffmpegsumo.so', 71 '<(PRODUCT_DIR)/libffmpegsumo.so',
52 '<(PRODUCT_DIR)/libosmesa.so', 72 '<(PRODUCT_DIR)/libosmesa.so',
53 ], 73 ],
54 }, 74 },
55 }], 75 }],
56 ['OS=="linux" and use_ozone==0', {
57 'variables': {
58 'files': [
59 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
60 ],
61 },
62 }],
63 ['OS=="mac"', { 76 ['OS=="mac"', {
64 'variables': { 77 'variables': {
65 'command': [
66 '../testing/test_env.py',
67 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
68 '--brave-new-test-launcher',
69 '--test-launcher-bot-mode',
70 '--asan=<(asan)',
71 '--msan=<(msan)',
72 '--tsan=<(tsan)',
73 ],
74 'files': [ 78 'files': [
75 '<(PRODUCT_DIR)/ffmpegsumo.so', 79 '<(PRODUCT_DIR)/ffmpegsumo.so',
76 '<(PRODUCT_DIR)/osmesa.so', 80 '<(PRODUCT_DIR)/osmesa.so',
77 ], 81 ],
78 }, 82 },
79 }], 83 }],
80 ['OS=="win"', { 84 ['OS=="win"', {
81 'variables': { 85 'variables': {
82 'command': [
83 '../testing/test_env.py',
84 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
85 '--brave-new-test-launcher',
86 '--test-launcher-bot-mode',
87 '--asan=<(asan)',
88 '--msan=<(msan)',
89 '--tsan=<(tsan)',
90 ],
91 'files': [ 86 'files': [
92 '<(PRODUCT_DIR)/ffmpegsumo.dll', 87 '<(PRODUCT_DIR)/ffmpegsumo.dll',
93 '<(PRODUCT_DIR)/osmesa.dll', 88 '<(PRODUCT_DIR)/osmesa.dll',
94 ], 89 ],
95 }, 90 },
96 }], 91 }],
97 ['OS=="mac" and asan==1 and fastbuild==0', { 92 ['OS=="mac" and asan==1 and fastbuild==0', {
98 'variables': { 93 'variables': {
99 'files': [ 94 'files': [
100 '<(PRODUCT_DIR)/content_unittests.dSYM/', 95 '<(PRODUCT_DIR)/content_unittests.dSYM/',
101 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/', 96 '<(PRODUCT_DIR)/ffmpegsumo.so.dSYM/',
102 '<(PRODUCT_DIR)/osmesa.so.dSYM/', 97 '<(PRODUCT_DIR)/osmesa.so.dSYM/',
103 ], 98 ],
104 }, 99 },
105 }], 100 }],
106 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 101 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
107 'variables': { 102 'variables': {
108 'files': [ 103 'files': [
109 '<(PRODUCT_DIR)/content_unittests.exe.pdb', 104 '<(PRODUCT_DIR)/content_unittests.exe.pdb',
110 ], 105 ],
111 }, 106 },
112 }], 107 }],
113 ], 108 ],
114 'includes': [ 109 'includes': [
115 '../base/base.isolate', 110 '../base/base.isolate',
116 '../gin/v8.isolate', 111 '../gin/v8.isolate',
117 ], 112 ],
118 } 113 }
OLDNEW
« no previous file with comments | « content/content_browsertests.isolate ('k') | ui/app_list/app_list_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698