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

Unified Diff: mojo/tools/data/unittests

Issue 780563002: Update unit test file format. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 6 years 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/data/android_unittests ('k') | mojo/tools/get_test_list.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/data/unittests
diff --git a/mojo/tools/data/unittests b/mojo/tools/data/unittests
index 1b178ba0f9fe6c554fb0036815c54174a5c9d293..5b3668278106333111e0077e6f3895a837d7323e 100644
--- a/mojo/tools/data/unittests
+++ b/mojo/tools/data/unittests
@@ -1,33 +1,76 @@
# This file contains a list of Mojo gtest unit tests.
-# Prepend * to indicate that results shouldn't be cached (e.g., if the test has
-# other data dependencies).
-# TODO(vtl): Add a way of specifying data dependencies instead.
+# This must be a valid python dictionary.
+# TODO(vtl): Add a way of specifying data dependencies instead of cacheable.
+[
+ # System tests:
+ {
+ "test": "mojo_system_unittests",
+ "run_on_android": True,
+ },
-# System tests:
-mojo_system_unittests
+ # Public tests:
+ {
+ "test": "mojo_public_bindings_unittests",
+ "cacheable": False,
+ },
+ {
+ "test": "mojo_public_environment_unittests",
+ },
+ {
+ "test": "mojo_public_system_unittests",
+ },
+ {
+ "test": "mojo_public_utility_unittests",
+ },
-# Public tests:
-*mojo_public_bindings_unittests
-mojo_public_environment_unittests
-mojo_public_system_unittests
-mojo_public_utility_unittests
+ # Non-system, non-public tests:
+ {
+ "test": "clipboard_unittests",
+ },
+ {
+ "test": "mojo_application_manager_unittests",
+ },
+ {
+ "test": "mojo_common_unittests",
+ },
+ {
+ "test": "external_application_unittests",
+ },
+ {
+ # These tests currently crash. We should re-enable them when they pass.
+ "test": "mojo_view_manager_lib_unittests",
+ "disabled": True,
+ },
+ {
+ "test": "mojo_surfaces_lib_unittests",
+ },
+ {
+ "test": "view_manager_service_unittests",
+ },
+ {
+ "test": "view_manager_unittests",
+ },
+ {
+ "test": "window_manager_unittests",
+ },
-# Non-system, non-public tests:
-clipboard_unittests
-mojo_application_manager_unittests
-mojo_common_unittests
-external_application_unittests
-# These tests currently crash. We should re-enable them when they pass.
-# mojo_view_manager_lib_unittests
-mojo_surfaces_lib_unittests
-view_manager_service_unittests
-view_manager_unittests
-window_manager_unittests
+ # JavaScript tests:
+ {
+ "test": "js_unittests",
+ "cacheable": False,
+ },
+ {
+ "test": "js_integration_tests",
+ "cacheable": False,
+ },
+ {
+ "test": "js_services_unittests",
+ "cacheable": False,
+ },
-# JavaScript tests:
-*js_unittests
-*js_integration_tests
-*js_services_unittests
-
-# Shell integration tests:
-*mojo_shell_tests
+ # Shell integration tests:
+ {
+ "test": "mojo_shell_tests",
+ "cacheable": False,
+ },
+]
« no previous file with comments | « mojo/tools/data/android_unittests ('k') | mojo/tools/get_test_list.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698