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

Unified Diff: mojo/tools/data/apptests

Issue 1316403005: view-manager: Use --override-use-gl-with-osmesa-for-tests for apptests on non-android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/data/apptests
diff --git a/mojo/tools/data/apptests b/mojo/tools/data/apptests
index abbde4fc55fd18de2de5389f3b54e63a4b7a639e..3872016feca3566e619edfc58321410196f92678 100644
--- a/mojo/tools/data/apptests
+++ b/mojo/tools/data/apptests
@@ -21,6 +21,13 @@
#
# TODO(vtl|msw): Add a way of specifying data dependencies.
+view_manager_apptests = { 'test': 'mojo:view_manager_apptests' }
+# osmesa is not used on android, so no flags are needed for
+# view_manager_apptests.
+if config.target_os != config.OS_ANDROID:
+ view_manager_apptests['args'] = [ '--use-x11-test-config',
+ '--override-use-gl-with-osmesa-for-tests' ]
+
tests = [
{
'test': 'mojo:clipboard_apptests',
@@ -39,11 +46,7 @@ tests = [
# 'test': 'mojo:runner_apptests',
# 'type': 'gtest_isolated',
#},
- {
- 'test': 'mojo:view_manager_apptests',
- 'args': ['--use-x11-test-config',
- '--override-use-gl-with-osmesa-for-tests']
- },
+ view_manager_apptests,
]
# TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698