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

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

Powered by Google App Engine
This is Rietveld 408576698