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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/base_unittests.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_unittests.isolate
diff --git a/ash/ash_unittests.isolate b/ash/ash_unittests.isolate
index 918a8e0252930e5616552d84d938803334d1dfc8..1a6aa163d0d171260a178efc19cc9a03e4d02003 100644
--- a/ash/ash_unittests.isolate
+++ b/ash/ash_unittests.isolate
@@ -15,7 +15,7 @@
],
},
}],
- ['OS=="linux"', {
+ ['OS=="linux" and use_x11==1', {
M-A Ruel 2015/01/07 21:43:07 I'd prefer to simplify the condition; ['use_x11==
spang 2015/01/07 21:59:17 Done.
'variables': {
'command': [
'../testing/xvfb.py',
@@ -25,29 +25,33 @@
],
'files': [
'../testing/xvfb.py',
+ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
+ ],
+ },
+ }],
+ ['OS=="linux"', {
+ 'variables': {
+ 'files': [
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
],
},
}],
- ['OS=="linux" and use_ozone==0', {
+ ['OS=="win"', {
'variables': {
'files': [
- '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
+ '<(PRODUCT_DIR)/ffmpegsumo.dll',
+ '<(PRODUCT_DIR)/osmesa.dll',
],
},
}],
- ['OS=="win"', {
+ ['OS=="win" or use_ozone==1', {
'variables': {
'command': [
'../testing/test_env.py',
- '<(PRODUCT_DIR)/ash_unittests.exe',
+ '<(PRODUCT_DIR)/ash_unittests<(EXECUTABLE_SUFFIX)',
'--test-launcher-bot-mode',
],
- 'files': [
- '<(PRODUCT_DIR)/ffmpegsumo.dll',
- '<(PRODUCT_DIR)/osmesa.dll',
- ],
},
}],
['OS=="win" and (fastbuild==0 or fastbuild==1)', {
« 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