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

Side by Side Diff: ui/message_center/message_center_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
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 ['OS=="linux" or OS=="mac" or OS=="win"', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
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 '<(PRODUCT_DIR)/ui_test.pak',
12 ], 12 ],
13 }, 13 },
14 }], 14 }],
15 ['OS=="linux"', { 15 ['use_x11==0', {
16 'variables': {
17 'command': [
18 '../../testing/test_env.py',
19 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)',
20 '--brave-new-test-launcher',
21 '--test-launcher-bot-mode',
22 '--asan=<(asan)',
23 '--lsan=<(lsan)',
24 ],
25 },
26 }],
27 ['use_x11==1', {
16 'variables': { 28 'variables': {
17 'command': [ 29 'command': [
18 '../../testing/xvfb.py', 30 '../../testing/xvfb.py',
19 '<(PRODUCT_DIR)', 31 '<(PRODUCT_DIR)',
20 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)', 32 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)',
21 '--brave-new-test-launcher', 33 '--brave-new-test-launcher',
22 '--test-launcher-bot-mode', 34 '--test-launcher-bot-mode',
23 '--asan=<(asan)', 35 '--asan=<(asan)',
24 '--lsan=<(lsan)', 36 '--lsan=<(lsan)',
25 ], 37 ],
26 'files': [ 38 'files': [
27 '../../testing/xvfb.py', 39 '../../testing/xvfb.py',
40 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
41 ],
42 },
43 }],
44 ['OS=="linux"', {
45 'variables': {
46 'files': [
28 '<(PRODUCT_DIR)/libosmesa.so', 47 '<(PRODUCT_DIR)/libosmesa.so',
29 ], 48 ],
30 }, 49 },
31 }], 50 }],
32 ['OS=="linux" and use_ozone==0', {
33 'variables': {
34 'files': [
35 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
36 ],
37 },
38 }],
39 ['OS=="mac"', { 51 ['OS=="mac"', {
40 'variables': { 52 'variables': {
41 'files': [ 53 'files': [
42 '<(PRODUCT_DIR)/osmesa.so', 54 '<(PRODUCT_DIR)/osmesa.so',
43 ], 55 ],
44 }, 56 },
45 }], 57 }],
46 ['OS=="win"', { 58 ['OS=="win"', {
47 'variables': { 59 'variables': {
48 'files': [ 60 'files': [
49 '<(PRODUCT_DIR)/osmesa.dll', 61 '<(PRODUCT_DIR)/osmesa.dll',
50 ], 62 ],
51 }, 63 },
52 }], 64 }],
53 ['OS=="mac" or OS=="win"', {
54 'variables': {
55 'command': [
56 '../../testing/test_env.py',
57 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)',
58 '--brave-new-test-launcher',
59 '--test-launcher-bot-mode',
60 '--asan=<(asan)',
61 '--lsan=<(lsan)',
62 ],
63 },
64 }],
65 ], 65 ],
66 'includes': [ 66 'includes': [
67 '../../base/base.isolate', 67 '../../base/base.isolate',
68 ], 68 ],
69 } 69 }
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