OLD | NEW |
1 ## Copyright 2015 The Chromium Authors. All rights reserved. | 1 ## Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # gn_isolate_map.pyl - A mapping of Ninja build target names to GN labels and | 5 # gn_isolate_map.pyl - A mapping of Ninja build target names to GN labels and |
6 # test type classifications for the tests that are run on the bots. | 6 # test type classifications for the tests that are run on the bots. |
7 # | 7 # |
8 # This mapping is used by MB so that we can uniformly refer to test binaries | 8 # This mapping is used by MB so that we can uniformly refer to test binaries |
9 # by their Ninja target names in the recipes and not need to worry about how | 9 # by their Ninja target names in the recipes and not need to worry about how |
10 # they are referred to in GN or GYP specifically (the GYP target name is pretty | 10 # they are referred to in GN or GYP specifically (the GYP target name is pretty |
11 # much always the same as the Ninja target name, since GYP target names are not | 11 # much always the same as the Ninja target name, since GYP target names are not |
12 # hierarchical). | 12 # hierarchical). |
13 # | 13 # |
| 14 # The 'label' field specifies the matching GN label for the given ninja |
| 15 # target. |
| 16 # |
14 # The 'type' field is used to determine what the command line for the test | 17 # The 'type' field is used to determine what the command line for the test |
15 # needs to be; valid values are: | 18 # needs to be; valid values are: |
16 # | 19 # |
17 # "windowed_test_launcher" | 20 # "windowed_test_launcher" |
18 # : the test is a gtest-based test that uses the 'brave-new-test-launcher' | 21 # : the test is a gtest-based test that uses the 'brave-new-test-launcher' |
19 # from //base/test:test_support and needs to run under Xvfb if run on | 22 # from //base/test:test_support and needs to run under Xvfb if run on |
20 # an X11-based platform (use_x11=true). | 23 # an X11-based platform (use_x11=true). |
21 # "console_test_launcher" | 24 # "console_test_launcher" |
22 # : the test is a gtest-based test that uses the 'brave-new-test-launcher' | 25 # : the test is a gtest-based test that uses the 'brave-new-test-launcher' |
23 # from //base/test:test_support but does not need Xvfb. | 26 # from //base/test:test_support but does not need Xvfb. |
24 # "gpu_browser_test" | 27 # "gpu_browser_test" |
25 # : the test is a subset of the browser_tests that will be run against | 28 # : the test is a subset of the browser_tests that will be run against |
26 # a real GPU. | 29 # a real GPU. |
27 # "raw" | 30 # "raw" |
28 # : the test is a standalone executable; it may take an optional list of | 31 # : the test is a standalone executable; it may take an optional list of |
29 # command line arguments in the 'args' field, but otherwise needs no | 32 # command line arguments in the 'args' field, but otherwise needs no |
30 # extra files or special handling. | 33 # extra files or special handling. |
| 34 # "script" |
| 35 # : the test is a python script; the path to the script is specified in |
| 36 # the "script" field. |
31 # "unknown" | 37 # "unknown" |
32 # : (the default), which indicates that we don't know what the command line | 38 # : (the default), which indicates that we don't know what the command line |
33 # needs to be (this is a fatal error). | 39 # needs to be (this is a fatal error). |
| 40 # |
| 41 # The optional 'args' field can be used to append extra command line |
| 42 # args onto the command line determined by the 'type'. If not specified, |
| 43 # it defaults to an empty list (no extra args). |
| 44 # |
| 45 # The optional 'label_type' field can be used in conjunction with |
| 46 # 'type' == 'console_test_launcher' or 'type' == 'windowed_test_launcher' |
| 47 # to indicate that even though the command line |
| 48 # to use follows the test_launcher patterns, the actual GN label refers |
| 49 # to a different type of thing (usually a 'group') and so MB can find |
| 50 # the generated runtime files in the right place. This is used, for |
| 51 # example, in content_site_isolation_browsertests . |
| 52 # |
| 53 # The optional 'script' field is used when 'type' == 'script', and |
| 54 # specifies the GN path to the corresponding python file, e.g. |
| 55 # "//testing/scripts/foo.py". |
34 | 56 |
35 { | 57 { |
36 "accessibility_unittests": { | 58 "accessibility_unittests": { |
37 "label": "//ui/accessibility:accessibility_unittests", | 59 "label": "//ui/accessibility:accessibility_unittests", |
38 "type": "raw", | 60 "type": "raw", |
39 "args": [], | 61 "args": [], |
40 }, | 62 }, |
41 "angle_end2end_tests": { | 63 "angle_end2end_tests": { |
42 "label": "//third_party/angle/src/tests:angle_end2end_tests", | 64 "label": "//third_party/angle/src/tests:angle_end2end_tests", |
43 "type": "raw", | 65 "type": "raw", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 }, | 168 }, |
147 "content_browsertests": { | 169 "content_browsertests": { |
148 "label": "//content/test:content_browsertests", | 170 "label": "//content/test:content_browsertests", |
149 "type": "windowed_test_launcher", | 171 "type": "windowed_test_launcher", |
150 }, | 172 }, |
151 "content_gl_tests": { | 173 "content_gl_tests": { |
152 "label": "//content/test:content_gl_tests", | 174 "label": "//content/test:content_gl_tests", |
153 "type": "raw", | 175 "type": "raw", |
154 "args": [], | 176 "args": [], |
155 }, | 177 }, |
| 178 "content_site_isolation_browsertests": { |
| 179 "label": "//content/test:content_site_isolation_browsertests", |
| 180 "label_type": "group", |
| 181 "type": "windowed_test_launcher", |
| 182 "args": ["--site-per-process", "--test-launcher-filter-file=src/testing/buil
dbot/filters/site-per-process.content_browsertests.filter"], |
| 183 }, |
156 "content_unittests": { | 184 "content_unittests": { |
157 "label": "//content/test:content_unittests", | 185 "label": "//content/test:content_unittests", |
158 "type": "windowed_test_launcher", | 186 "type": "windowed_test_launcher", |
159 }, | 187 }, |
160 "courgette_unittests": { | 188 "courgette_unittests": { |
161 "label": "//courgette:courgette_unittests", | 189 "label": "//courgette:courgette_unittests", |
162 "type": "unknown", | 190 "type": "unknown", |
163 }, | 191 }, |
164 "crypto_unittests": { | 192 "crypto_unittests": { |
165 "label": "//crypto:crypto_unittests", | 193 "label": "//crypto:crypto_unittests", |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 }, | 501 }, |
474 "wm_unittests": { | 502 "wm_unittests": { |
475 "label": "//ui/wm:wm_unittests", | 503 "label": "//ui/wm:wm_unittests", |
476 "type": "windowed_test_launcher", | 504 "type": "windowed_test_launcher", |
477 }, | 505 }, |
478 "wtf_unittests": { | 506 "wtf_unittests": { |
479 "label": "//third_party/WebKit/Source/wtf:wtf_unittests", | 507 "label": "//third_party/WebKit/Source/wtf:wtf_unittests", |
480 "type": "console_test_launcher", | 508 "type": "console_test_launcher", |
481 }, | 509 }, |
482 } | 510 } |
OLD | NEW |