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

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: 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
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 from mopy.config import Config
viettrungluu 2015/01/30 20:43:27 ...
qsr 2015/02/03 10:44:25 Same thing. Will change if you insist, but I think
8
9 tests = [
5 # System tests: 10 # System tests:
6 { 11 {
7 "test": "mojo_system_unittests", 12 "test": "mojo_system_unittests",
8 }, 13 },
9 14
10 # Public tests: 15 # Public tests:
11 { 16 {
12 "test": "mojo_public_bindings_unittests", 17 "test": "mojo_public_bindings_unittests",
13 "cacheable": False, 18 "cacheable": False,
14 }, 19 },
(...skipping 23 matching lines...) Expand all
38 { 43 {
39 "test": "mojo_surfaces_lib_unittests", 44 "test": "mojo_surfaces_lib_unittests",
40 }, 45 },
41 { 46 {
42 "test": "view_manager_service_unittests", 47 "test": "view_manager_service_unittests",
43 }, 48 },
44 { 49 {
45 "test": "window_manager_unittests", 50 "test": "window_manager_unittests",
46 }, 51 },
47 52
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: 53 # Shell integration tests:
76 { 54 {
77 "test": "mojo_shell_tests", 55 "test": "mojo_shell_tests",
78 "cacheable": False, 56 "cacheable": False,
79 }, 57 },
80 ] 58 ]
59
60 if config.target_os != Config.OS_ANDROID:
61 tests += [
62 # Tests for components we depend on:
63 {
64 "test": "gfx_unittests",
65 },
66 {
67 "test": "events_unittests",
68 },
69
70 # JavaScript tests:
71 {
72 "test": "js_unittests",
73 "cacheable": False,
74 },
75 {
76 "test": "js_integration_tests",
77 "cacheable": False,
78 },
79 {
80 "test": "js_services_unittests",
81 "cacheable": False,
82 },
83 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698