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

Unified Diff: mojo/tools/data/apptests

Issue 1258903002: Extract `mojo_test` - standalone apptest runner in devtools. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Centralize the documentation in mojo_test. Created 5 years, 5 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 | « mojo/tools/apptest_runner.py ('k') | 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 1087fd11874c682e49e66eef854db15db7b3aaee..6cada410ae67f372dc189b9db7d18629d42b7905 100644
--- a/mojo/tools/data/apptests
+++ b/mojo/tools/data/apptests
@@ -1,11 +1,5 @@
-# This file contains a list of Mojo gtest unit tests.
-#
-# This must be valid Python. It may use the |config| global that will be a
-# mopy.config.Config object, and must set a |tests| global that will contain the
-# list of tests to run.
-#
-# The entries in |tests| are dictionaries of the form described in
-# devtoolslib/apptest_runner.py.
+# This file contains a list of Mojo apptests. For description of the file
+# format, see `mojo_test` in devtools.
tests = [
{
@@ -73,7 +67,7 @@ tests = [
},
]
-if config.target_os == config.OS_LINUX:
+if target_os == 'linux':
tests += [
{
"test": "mojo:example_apptests",
@@ -92,7 +86,7 @@ if config.target_os == config.OS_LINUX:
}
]
-if config.target_os == config.OS_ANDROID:
+if target_os == 'android':
tests += [
{
"test": "mojo:example_apptests",
@@ -111,7 +105,7 @@ if config.target_os == config.OS_ANDROID:
},
]
-if config.target_os != config.OS_ANDROID:
+if target_os != 'android':
tests += [
{
"test": "mojo:js_apptests",
« no previous file with comments | « mojo/tools/apptest_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698