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

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: 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 | « 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 ['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 ['use_x11==0', {
37 'variables': {
38 'command': [
39 '../testing/test_env.py',
40 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
41 '--brave-new-test-launcher',
42 '--test-launcher-bot-mode',
43 '--asan=<(asan)',
44 '--lsan=<(lsan)',
45 ],
46 },
47 }],
48 ['use_x11==1', {
37 'variables': { 49 'variables': {
38 'command': [ 50 'command': [
39 '../testing/xvfb.py', 51 '../testing/xvfb.py',
40 '<(PRODUCT_DIR)', 52 '<(PRODUCT_DIR)',
41 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)', 53 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
42 '--brave-new-test-launcher', 54 '--brave-new-test-launcher',
43 '--test-launcher-bot-mode', 55 '--test-launcher-bot-mode',
44 '--asan=<(asan)', 56 '--asan=<(asan)',
45 '--lsan=<(lsan)', 57 '--lsan=<(lsan)',
46 ], 58 ],
47 'files': [ 59 'files': [
48 '../testing/xvfb.py', 60 '../testing/xvfb.py',
61 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
62 ],
63 },
64 }],
65 ['OS=="linux"', {
66 'variables': {
67 'files': [
49 '<(PRODUCT_DIR)/libffmpegsumo.so', 68 '<(PRODUCT_DIR)/libffmpegsumo.so',
50 '<(PRODUCT_DIR)/libosmesa.so', 69 '<(PRODUCT_DIR)/libosmesa.so',
51 ], 70 ],
52 }, 71 },
53 }], 72 }],
54 ['OS=="linux" and use_ozone==0', {
55 'variables': {
56 'files': [
57 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
58 ],
59 },
60 }],
61 ['OS=="mac"', { 73 ['OS=="mac"', {
62 'variables': { 74 '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': [ 75 'files': [
72 '<(PRODUCT_DIR)/ffmpegsumo.so', 76 '<(PRODUCT_DIR)/ffmpegsumo.so',
73 '<(PRODUCT_DIR)/osmesa.so', 77 '<(PRODUCT_DIR)/osmesa.so',
74 ], 78 ],
75 }, 79 },
76 }], 80 }],
77 ['OS=="win"', { 81 ['OS=="win"', {
78 'variables': { 82 'variables': {
79 'command': [
80 '../testing/test_env.py',
81 '<(PRODUCT_DIR)/content_unittests<(EXECUTABLE_SUFFIX)',
82 '--brave-new-test-launcher',
83 '--test-launcher-bot-mode',
84 '--asan=<(asan)',
85 '--lsan=<(lsan)',
86 ],
87 'files': [ 83 'files': [
88 '<(PRODUCT_DIR)/ffmpegsumo.dll', 84 '<(PRODUCT_DIR)/ffmpegsumo.dll',
89 '<(PRODUCT_DIR)/osmesa.dll', 85 '<(PRODUCT_DIR)/osmesa.dll',
90 ], 86 ],
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
« 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