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

Side by Side Diff: base/base_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: 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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=="android" or OS=="linux" or OS=="mac" or OS=="win"', { 6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
9 'test/data/', 9 'test/data/',
10 ], 10 ],
11 }, 11 },
12 }], 12 }],
13 ['OS=="linux"', { 13 ['OS=="linux" and use_x11==1', {
14 'variables': { 14 'variables': {
15 'command': [ 15 'command': [
16 '../testing/xvfb.py', 16 '../testing/xvfb.py',
17 '<(PRODUCT_DIR)', 17 '<(PRODUCT_DIR)',
18 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 18 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
19 '--brave-new-test-launcher', 19 '--brave-new-test-launcher',
20 '--test-launcher-bot-mode', 20 '--test-launcher-bot-mode',
21 '--asan=<(asan)', 21 '--asan=<(asan)',
22 '--lsan=<(lsan)', 22 '--lsan=<(lsan)',
23 ], 23 ],
24 'files': [ 24 'files': [
25 '../testing/xvfb.py', 25 '../testing/xvfb.py',
26 ],
27 },
28 }],
29 ['OS=="linux" and use_ozone==0', {
30 'variables': {
31 'files': [
32 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', 26 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
33 ], 27 ],
34 }, 28 },
35 }], 29 }],
36 ['OS=="linux" or OS=="mac" or OS=="win"', { 30 ['OS=="linux" or OS=="mac" or OS=="win"', {
37 'variables': { 31 'variables': {
38 'files': [ 32 'files': [
39 '../testing/test_env.py', 33 '../testing/test_env.py',
40 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 34 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
41 ], 35 ],
42 'read_only': 1, 36 'read_only': 1,
43 }, 37 },
44 }], 38 }],
45 ['OS=="mac" or OS=="win"', { 39 ['OS=="mac" or OS=="win" or use_ozone==1', {
46 'variables': { 40 'variables': {
47 'command': [ 41 'command': [
48 '../testing/test_env.py', 42 '../testing/test_env.py',
49 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', 43 '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)',
50 '--brave-new-test-launcher', 44 '--brave-new-test-launcher',
51 '--test-launcher-bot-mode', 45 '--test-launcher-bot-mode',
52 '--asan=<(asan)', 46 '--asan=<(asan)',
53 '--lsan=<(lsan)', 47 '--lsan=<(lsan)',
54 ], 48 ],
55 }, 49 },
56 }], 50 }],
57 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 51 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
58 'variables': { 52 'variables': {
59 'files': [ 53 'files': [
60 '<(PRODUCT_DIR)/base_unittests.exe.pdb', 54 '<(PRODUCT_DIR)/base_unittests.exe.pdb',
61 ], 55 ],
62 }, 56 },
63 }], 57 }],
64 ], 58 ],
65 'includes': [ 59 'includes': [
66 'base.isolate', 60 'base.isolate',
67 ], 61 ],
68 } 62 }
OLDNEW
« ash/ash_unittests.isolate ('K') | « ash/ash_unittests.isolate ('k') | build/isolate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698