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

Side by Side Diff: ui/base/ui_base_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 | « ui/app_list/app_list_unittests.isolate ('k') | ui/events/events_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) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2014 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" or OS=="mac" or OS=="win"', { 6 ['use_x11==0', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'command': [
9 '../../testing/test_env.py', 9 '../../testing/test_env.py',
10 'test/data/data_pack_unittest/truncated-header.pak',
11 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)', 10 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
12 '<(PRODUCT_DIR)/ui_test.pak', 11 '--brave-new-test-launcher',
12 '--test-launcher-bot-mode',
13 '--asan=<(asan)',
14 '--msan=<(msan)',
15 '--tsan=<(tsan)',
13 ], 16 ],
14 }, 17 },
15 }], 18 }],
16 ['OS=="linux" or OS=="win"', { 19 ['use_x11==1', {
17 'variables': {
18 'files': [
19 '<(PRODUCT_DIR)/ui/en-US.pak',
20 '<(PRODUCT_DIR)/ui/ui_resources_100_percent.pak',
21 ],
22 },
23 }],
24 ['OS=="linux"', {
25 'variables': { 20 'variables': {
26 'command': [ 21 'command': [
27 '../../testing/xvfb.py', 22 '../../testing/xvfb.py',
28 '<(PRODUCT_DIR)', 23 '<(PRODUCT_DIR)',
29 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)', 24 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
30 '--brave-new-test-launcher', 25 '--brave-new-test-launcher',
31 '--test-launcher-bot-mode', 26 '--test-launcher-bot-mode',
32 '--asan=<(asan)', 27 '--asan=<(asan)',
33 '--msan=<(msan)', 28 '--msan=<(msan)',
34 '--tsan=<(tsan)', 29 '--tsan=<(tsan)',
35 ], 30 ],
36 'files': [ 31 'files': [
37 '../../testing/xvfb.py', 32 '../../testing/xvfb.py',
33 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
34 ],
35 },
36 }],
37 ['OS=="linux" or OS=="mac" or OS=="win"', {
38 'variables': {
39 'files': [
40 '../../testing/test_env.py',
41 'test/data/data_pack_unittest/truncated-header.pak',
42 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
43 '<(PRODUCT_DIR)/ui_test.pak',
44 ],
45 },
46 }],
47 ['OS=="linux" or OS=="win"', {
48 'variables': {
49 'files': [
50 '<(PRODUCT_DIR)/ui/en-US.pak',
51 '<(PRODUCT_DIR)/ui/ui_resources_100_percent.pak',
52 ],
53 },
54 }],
55 ['OS=="linux"', {
56 'variables': {
57 'files': [
38 '<(PRODUCT_DIR)/libosmesa.so', 58 '<(PRODUCT_DIR)/libosmesa.so',
39 ], 59 ],
40 }, 60 },
41 }], 61 }],
42 ['OS=="linux" and use_ozone==0', {
43 'variables': {
44 'files': [
45 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
46 ],
47 },
48 }],
49 ['OS=="mac"', { 62 ['OS=="mac"', {
50 'variables': { 63 'variables': {
51 'files': [ 64 'files': [
52 '<(PRODUCT_DIR)/ui_unittests Framework.framework/', 65 '<(PRODUCT_DIR)/ui_unittests Framework.framework/',
53 '<(PRODUCT_DIR)/osmesa.so', 66 '<(PRODUCT_DIR)/osmesa.so',
54 ], 67 ],
55 }, 68 },
56 }], 69 }],
57 ['OS=="win"', { 70 ['OS=="win"', {
58 'variables': { 71 'variables': {
59 'files': [ 72 'files': [
60 '<(PRODUCT_DIR)/osmesa.dll', 73 '<(PRODUCT_DIR)/osmesa.dll',
61 ], 74 ],
62 }, 75 },
63 }], 76 }],
64 ['OS=="mac" or OS=="win"', {
65 'variables': {
66 'command': [
67 '../../testing/test_env.py',
68 '<(PRODUCT_DIR)/ui_base_unittests<(EXECUTABLE_SUFFIX)',
69 '--brave-new-test-launcher',
70 '--test-launcher-bot-mode',
71 '--asan=<(asan)',
72 '--msan=<(msan)',
73 '--tsan=<(tsan)',
74 ],
75 },
76 }],
77 ['OS=="mac" and asan==1 and fastbuild==0', { 77 ['OS=="mac" and asan==1 and fastbuild==0', {
78 'variables': { 78 'variables': {
79 'files': [ 79 'files': [
80 '<(PRODUCT_DIR)/osmesa.so.dSYM/', 80 '<(PRODUCT_DIR)/osmesa.so.dSYM/',
81 '<(PRODUCT_DIR)/ui_base_unittests.dSYM/', 81 '<(PRODUCT_DIR)/ui_base_unittests.dSYM/',
82 '<(PRODUCT_DIR)/ui_unittests Framework.framework.dSYM/', 82 '<(PRODUCT_DIR)/ui_unittests Framework.framework.dSYM/',
83 ], 83 ],
84 }, 84 },
85 }], 85 }],
86 ], 86 ],
87 'includes': [ 87 'includes': [
88 '../../base/base.isolate', 88 '../../base/base.isolate',
89 ], 89 ],
90 } 90 }
OLDNEW
« no previous file with comments | « ui/app_list/app_list_unittests.isolate ('k') | ui/events/events_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698