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

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

Powered by Google App Engine
This is Rietveld 408576698