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

Side by Side Diff: ui/events/events_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/base/ui_base_unittests.isolate ('k') | ui/message_center/message_center_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 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', 10 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
11 '--brave-new-test-launcher',
12 '--test-launcher-bot-mode',
13 '--asan=<(asan)',
14 '--msan=<(msan)',
15 '--tsan=<(tsan)',
11 ], 16 ],
12 }, 17 },
13 }], 18 }],
14 ['OS=="linux"', { 19 ['use_x11==1', {
15 'variables': { 20 'variables': {
16 'command': [ 21 'command': [
17 '../../testing/xvfb.py', 22 '../../testing/xvfb.py',
18 '<(PRODUCT_DIR)', 23 '<(PRODUCT_DIR)',
19 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)', 24 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
20 '--brave-new-test-launcher', 25 '--brave-new-test-launcher',
21 '--test-launcher-bot-mode', 26 '--test-launcher-bot-mode',
22 '--asan=<(asan)', 27 '--asan=<(asan)',
23 '--msan=<(msan)', 28 '--msan=<(msan)',
24 '--tsan=<(tsan)', 29 '--tsan=<(tsan)',
25 ], 30 ],
26 'files': [ 31 'files': [
27 '../../testing/xvfb.py', 32 '../../testing/xvfb.py',
28 '<(PRODUCT_DIR)/libosmesa.so', 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 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
29 ], 42 ],
30 }, 43 },
31 }], 44 }],
32 ['OS=="linux" and use_ozone==0', { 45 ['OS=="linux" and use_ozone==0', {
33 'variables': { 46 'variables': {
34 'files': [ 47 'files': [
35 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 48 '<(PRODUCT_DIR)/libosmesa.so',
36 ], 49 ],
37 }, 50 },
38 }], 51 }],
39 ['OS=="mac"', { 52 ['OS=="mac"', {
40 'variables': { 53 'variables': {
41 'files': [ 54 'files': [
42 '<(PRODUCT_DIR)/osmesa.so', 55 '<(PRODUCT_DIR)/osmesa.so',
43 ], 56 ],
44 }, 57 },
45 }], 58 }],
46 ['OS=="win"', { 59 ['OS=="win"', {
47 'variables': { 60 'variables': {
48 'files': [ 61 'files': [
49 '<(PRODUCT_DIR)/osmesa.dll', 62 '<(PRODUCT_DIR)/osmesa.dll',
50 ], 63 ],
51 }, 64 },
52 }], 65 }],
53 ['OS=="mac" or OS=="win"', {
54 'variables': {
55 'command': [
56 '../../testing/test_env.py',
57 '<(PRODUCT_DIR)/events_unittests<(EXECUTABLE_SUFFIX)',
58 '--brave-new-test-launcher',
59 '--test-launcher-bot-mode',
60 '--asan=<(asan)',
61 '--msan=<(msan)',
62 '--tsan=<(tsan)',
63 ],
64 },
65 }],
66 ['OS=="mac" and asan==1 and fastbuild==0', { 66 ['OS=="mac" and asan==1 and fastbuild==0', {
67 'variables': { 67 'variables': {
68 'files': [ 68 'files': [
69 '<(PRODUCT_DIR)/events_unittests.dSYM/', 69 '<(PRODUCT_DIR)/events_unittests.dSYM/',
70 '<(PRODUCT_DIR)/osmesa.so.dSYM/', 70 '<(PRODUCT_DIR)/osmesa.so.dSYM/',
71 ], 71 ],
72 }, 72 },
73 }], 73 }],
74 ], 74 ],
75 'includes': [ 75 'includes': [
76 '../../base/base.isolate', 76 '../../base/base.isolate',
77 ], 77 ],
78 } 78 }
OLDNEW
« no previous file with comments | « ui/base/ui_base_unittests.isolate ('k') | ui/message_center/message_center_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698