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

Side by Side Diff: ui/message_center/message_center_unittests.isolate

Issue 843713002: Revert "Use Xvfb in isolated testing only if use_x11 is set" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 ['use_x11==0', { 15 ['OS=="linux"', {
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', {
28 'variables': { 16 'variables': {
29 'command': [ 17 'command': [
30 '../../testing/xvfb.py', 18 '../../testing/xvfb.py',
31 '<(PRODUCT_DIR)', 19 '<(PRODUCT_DIR)',
32 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)', 20 '<(PRODUCT_DIR)/message_center_unittests<(EXECUTABLE_SUFFIX)',
33 '--brave-new-test-launcher', 21 '--brave-new-test-launcher',
34 '--test-launcher-bot-mode', 22 '--test-launcher-bot-mode',
35 '--asan=<(asan)', 23 '--asan=<(asan)',
36 '--lsan=<(lsan)', 24 '--lsan=<(lsan)',
37 ], 25 ],
38 'files': [ 26 'files': [
39 '../../testing/xvfb.py', 27 '../../testing/xvfb.py',
28 '<(PRODUCT_DIR)/libosmesa.so',
29 ],
30 },
31 }],
32 ['OS=="linux" and use_ozone==0', {
33 'variables': {
34 'files': [
40 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 35 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
41 ], 36 ],
42 }, 37 },
43 }], 38 }],
44 ['OS=="linux"', {
45 'variables': {
46 'files': [
47 '<(PRODUCT_DIR)/libosmesa.so',
48 ],
49 },
50 }],
51 ['OS=="mac"', { 39 ['OS=="mac"', {
52 'variables': { 40 'variables': {
53 'files': [ 41 'files': [
54 '<(PRODUCT_DIR)/osmesa.so', 42 '<(PRODUCT_DIR)/osmesa.so',
55 ], 43 ],
56 }, 44 },
57 }], 45 }],
58 ['OS=="win"', { 46 ['OS=="win"', {
59 'variables': { 47 'variables': {
60 'files': [ 48 'files': [
61 '<(PRODUCT_DIR)/osmesa.dll', 49 '<(PRODUCT_DIR)/osmesa.dll',
62 ], 50 ],
63 }, 51 },
64 }], 52 }],
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