Chromium Code Reviews

Side by Side Diff: ash/ash_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.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | base/base_unittests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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=="win" or chromeos==1', { 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)/ash_unittests<(EXECUTABLE_SUFFIX)', 10 '<(PRODUCT_DIR)/ash_unittests<(EXECUTABLE_SUFFIX)',
11 '<(PRODUCT_DIR)/chrome_100_percent.pak', 11 '--test-launcher-bot-mode',
12 '<(PRODUCT_DIR)/chrome_200_percent.pak',
13 '<(PRODUCT_DIR)/locales/en-US.pak',
14 '<(PRODUCT_DIR)/keyboard_resources.pak',
15 ], 12 ],
16 }, 13 },
17 }], 14 }],
18 ['OS=="linux"', { 15 ['use_x11==1', {
19 'variables': { 16 'variables': {
20 'command': [ 17 'command': [
21 '../testing/xvfb.py', 18 '../testing/xvfb.py',
22 '<(PRODUCT_DIR)', 19 '<(PRODUCT_DIR)',
23 '<(PRODUCT_DIR)/ash_unittests', 20 '<(PRODUCT_DIR)/ash_unittests',
24 '--test-launcher-bot-mode', 21 '--test-launcher-bot-mode',
25 ], 22 ],
26 'files': [ 23 'files': [
27 '../testing/xvfb.py', 24 '../testing/xvfb.py',
25 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
26 ],
27 },
28 }],
29 ['OS=="win" or chromeos==1', {
30 'variables': {
31 'files': [
32 '../testing/test_env.py',
33 '<(PRODUCT_DIR)/ash_unittests<(EXECUTABLE_SUFFIX)',
34 '<(PRODUCT_DIR)/chrome_100_percent.pak',
35 '<(PRODUCT_DIR)/chrome_200_percent.pak',
36 '<(PRODUCT_DIR)/locales/en-US.pak',
37 '<(PRODUCT_DIR)/keyboard_resources.pak',
38 ],
39 },
40 }],
41 ['OS=="linux"', {
42 'variables': {
43 'files': [
28 '<(PRODUCT_DIR)/libffmpegsumo.so', 44 '<(PRODUCT_DIR)/libffmpegsumo.so',
29 '<(PRODUCT_DIR)/libosmesa.so', 45 '<(PRODUCT_DIR)/libosmesa.so',
30 ], 46 ],
31 }, 47 },
32 }], 48 }],
33 ['OS=="linux" and use_ozone==0', {
34 'variables': {
35 'files': [
36 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
37 ],
38 },
39 }],
40 ['OS=="win"', { 49 ['OS=="win"', {
41 'variables': { 50 'variables': {
42 'command': [
43 '../testing/test_env.py',
44 '<(PRODUCT_DIR)/ash_unittests.exe',
45 '--test-launcher-bot-mode',
46 ],
47 'files': [ 51 'files': [
48 '<(PRODUCT_DIR)/ffmpegsumo.dll', 52 '<(PRODUCT_DIR)/ffmpegsumo.dll',
49 '<(PRODUCT_DIR)/osmesa.dll', 53 '<(PRODUCT_DIR)/osmesa.dll',
50 ], 54 ],
51 }, 55 },
52 }], 56 }],
53 ['OS=="win" and (fastbuild==0 or fastbuild==1)', { 57 ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
54 'variables': { 58 'variables': {
55 'files': [ 59 'files': [
56 '<(PRODUCT_DIR)/ash_unittests.exe.pdb', 60 '<(PRODUCT_DIR)/ash_unittests.exe.pdb',
57 ], 61 ],
58 }, 62 },
59 }], 63 }],
60 ], 64 ],
61 'includes': [ 65 'includes': [
62 '../base/base.isolate', 66 '../base/base.isolate',
63 ], 67 ],
64 } 68 }
OLDNEW
« no previous file with comments | « no previous file | base/base_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine