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 'type' field is used to determine what the command line for the test | 14 # The "label" field specifies the matching GN label for the given ninja |
| 15 # target. |
| 16 # |
| 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 "executable" field can be used to override the name |
| 42 # of the binary to run. If the field is not specified, the binary |
| 43 # name will be assumed to be the same as the ninja build target name. |
| 44 # On Windows, ".exe" will be automatically appended if need be, so |
| 45 # the executable name (and target name) should not contain an ".exe". |
| 46 # |
| 47 # The optional "args" field can be used to append extra command line |
| 48 # args onto the command line determined by the "type". If not specified, |
| 49 # it defaults to an empty list (no extra args). |
| 50 # |
| 51 # The optional "label_type" field can be used in conjunction with |
| 52 # "type" == "console_test_launcher" or "type" == "windowed_test_launcher" |
| 53 # to indicate that even though the command line |
| 54 # to use follows the test_launcher patterns, the actual GN label refers |
| 55 # to a different type of thing (usually a "group") and so MB can find |
| 56 # the generated runtime files in the right place. This is used, for |
| 57 # example, in content_site_isolation_browsertests . |
| 58 # |
| 59 # The optional "script" field is used when "type" == "script", and |
| 60 # specifies the GN path to the corresponding python file, e.g. |
| 61 # "//testing/scripts/foo.py". |
34 | 62 |
35 { | 63 { |
36 "accessibility_unittests": { | 64 "accessibility_unittests": { |
37 "label": "//ui/accessibility:accessibility_unittests", | 65 "label": "//ui/accessibility:accessibility_unittests", |
38 "type": "raw", | 66 "type": "raw", |
39 "args": [], | 67 "args": [], |
40 }, | 68 }, |
41 "angle_end2end_tests": { | 69 "angle_end2end_tests": { |
42 "label": "//third_party/angle/src/tests:angle_end2end_tests", | 70 "label": "//third_party/angle/src/tests:angle_end2end_tests", |
43 "type": "raw", | 71 "type": "raw", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 }, | 186 }, |
159 "content_browsertests": { | 187 "content_browsertests": { |
160 "label": "//content/test:content_browsertests", | 188 "label": "//content/test:content_browsertests", |
161 "type": "windowed_test_launcher", | 189 "type": "windowed_test_launcher", |
162 }, | 190 }, |
163 "content_gl_tests": { | 191 "content_gl_tests": { |
164 "label": "//content/test:content_gl_tests", | 192 "label": "//content/test:content_gl_tests", |
165 "type": "raw", | 193 "type": "raw", |
166 "args": [], | 194 "args": [], |
167 }, | 195 }, |
| 196 "content_site_isolation_browsertests": { |
| 197 "label": "//content/test:content_site_isolation_browsertests", |
| 198 "label_type": "group", |
| 199 "type": "windowed_test_launcher", |
| 200 "executable": "content_browsertests", |
| 201 "args": ["--site-per-process", "--test-launcher-filter-file=../../testing/bu
ildbot/filters/site-per-process.content_browsertests.filter"], |
| 202 }, |
168 "content_unittests": { | 203 "content_unittests": { |
169 "label": "//content/test:content_unittests", | 204 "label": "//content/test:content_unittests", |
170 "type": "windowed_test_launcher", | 205 "type": "windowed_test_launcher", |
171 }, | 206 }, |
172 "courgette_unittests": { | 207 "courgette_unittests": { |
173 "label": "//courgette:courgette_unittests", | 208 "label": "//courgette:courgette_unittests", |
174 "type": "unknown", | 209 "type": "unknown", |
175 }, | 210 }, |
176 "crypto_unittests": { | 211 "crypto_unittests": { |
177 "label": "//crypto:crypto_unittests", | 212 "label": "//crypto:crypto_unittests", |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 }, | 536 }, |
502 "wm_unittests": { | 537 "wm_unittests": { |
503 "label": "//ui/wm:wm_unittests", | 538 "label": "//ui/wm:wm_unittests", |
504 "type": "windowed_test_launcher", | 539 "type": "windowed_test_launcher", |
505 }, | 540 }, |
506 "wtf_unittests": { | 541 "wtf_unittests": { |
507 "label": "//third_party/WebKit/Source/wtf:wtf_unittests", | 542 "label": "//third_party/WebKit/Source/wtf:wtf_unittests", |
508 "type": "console_test_launcher", | 543 "type": "console_test_launcher", |
509 }, | 544 }, |
510 } | 545 } |
OLD | NEW |