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

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

Powered by Google App Engine
This is Rietveld 408576698