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

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

Powered by Google App Engine
This is Rietveld 408576698