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

Side by Side Diff: ash/ash_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
« 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 ['OS=="win" or chromeos==1', {
7 'variables': { 7 'variables': {
8 'files': [ 8 'files': [
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 '<(PRODUCT_DIR)/chrome_100_percent.pak',
12 '<(PRODUCT_DIR)/chrome_200_percent.pak', 12 '<(PRODUCT_DIR)/chrome_200_percent.pak',
13 '<(PRODUCT_DIR)/locales/en-US.pak', 13 '<(PRODUCT_DIR)/locales/en-US.pak',
14 '<(PRODUCT_DIR)/keyboard_resources.pak', 14 '<(PRODUCT_DIR)/keyboard_resources.pak',
15 ], 15 ],
16 }, 16 },
17 }], 17 }],
18 ['OS=="linux"', { 18 ['use_x11==0', {
19 'variables': {
20 'command': [
21 '../testing/test_env.py',
22 '<(PRODUCT_DIR)/ash_unittests<(EXECUTABLE_SUFFIX)',
23 '--test-launcher-bot-mode',
24 ],
25 },
26 }],
27 ['use_x11==1', {
19 'variables': { 28 'variables': {
20 'command': [ 29 'command': [
21 '../testing/xvfb.py', 30 '../testing/xvfb.py',
22 '<(PRODUCT_DIR)', 31 '<(PRODUCT_DIR)',
23 '<(PRODUCT_DIR)/ash_unittests', 32 '<(PRODUCT_DIR)/ash_unittests',
24 '--test-launcher-bot-mode', 33 '--test-launcher-bot-mode',
25 ], 34 ],
26 'files': [ 35 'files': [
27 '../testing/xvfb.py', 36 '../testing/xvfb.py',
37 '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
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
This is Rietveld 408576698