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

Side by Side Diff: mojo/tools/data/unittests

Issue 888043002: Use a python script to configure unit tests and app tests to run. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 10 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 | « mojo/tools/data/apptests ('k') | mojo/tools/mopy/config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file contains a list of Mojo gtest unit tests. 1 # This file contains a list of Mojo gtest unit tests.
2 # This must be a valid python dictionary. 2 # This must be valid python. It can use the |config| global that will be a
3 # mopy.config.Config object and must set a |tests| global that will contain the
4 # tests to run.
3 # TODO(vtl): Add a way of specifying data dependencies instead of cacheable. 5 # TODO(vtl): Add a way of specifying data dependencies instead of cacheable.
4 [ 6
7 tests = [
5 # System tests: 8 # System tests:
6 { 9 {
7 "test": "mojo_system_unittests", 10 "test": "mojo_system_unittests",
8 }, 11 },
9 12
10 # Public tests: 13 # Public tests:
11 { 14 {
12 "test": "mojo_public_bindings_unittests", 15 "test": "mojo_public_bindings_unittests",
13 "cacheable": False, 16 "cacheable": False,
14 }, 17 },
(...skipping 23 matching lines...) Expand all
38 { 41 {
39 "test": "mojo_surfaces_lib_unittests", 42 "test": "mojo_surfaces_lib_unittests",
40 }, 43 },
41 { 44 {
42 "test": "view_manager_service_unittests", 45 "test": "view_manager_service_unittests",
43 }, 46 },
44 { 47 {
45 "test": "window_manager_unittests", 48 "test": "window_manager_unittests",
46 }, 49 },
47 50
48 # Tests for components we depend on:
49 {
50 "test": "gfx_unittests",
51 "target_os": ["!android"],
52 },
53 {
54 "test": "events_unittests",
55 "target_os": ["!android"],
56 },
57
58 # JavaScript tests:
59 {
60 "test": "js_unittests",
61 "cacheable": False,
62 "target_os": ["!android"],
63 },
64 {
65 "test": "js_integration_tests",
66 "cacheable": False,
67 "target_os": ["!android"],
68 },
69 {
70 "test": "js_services_unittests",
71 "cacheable": False,
72 "target_os": ["!android"],
73 },
74
75 # Shell integration tests: 51 # Shell integration tests:
76 { 52 {
77 "test": "mojo_shell_tests", 53 "test": "mojo_shell_tests",
78 "cacheable": False, 54 "cacheable": False,
79 }, 55 },
80 ] 56 ]
57
58 if config.target_os != config.OS_ANDROID:
59 tests += [
60 # Tests for components we depend on:
61 {
62 "test": "gfx_unittests",
63 },
64 {
65 "test": "events_unittests",
66 },
67
68 # JavaScript tests:
69 {
70 "test": "js_unittests",
71 "cacheable": False,
72 },
73 {
74 "test": "js_integration_tests",
75 "cacheable": False,
76 },
77 {
78 "test": "js_services_unittests",
79 "cacheable": False,
80 },
81 ]
OLDNEW
« no previous file with comments | « mojo/tools/data/apptests ('k') | mojo/tools/mopy/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698