Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). draft
authorHenrik Skupin <mail@hskupin.info>
Wed, 21 Sep 2016 10:16:33 +0200
changeset 415894 f5cbfed7b5e948dc791cf08d1b7f4b12891ba2f3
parent 415495 62f79d676e0e11b3ad59a5425b3ebb3ec5bbefb5
child 415895 4c2cf0b71410ecb2f2bfc28288137bf0bbf99825
push id30005
push userbmo:hskupin@gmail.com
push dateWed, 21 Sep 2016 08:33:53 +0000
bugs1302364
milestone52.0a1
Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). MozReview-Commit-ID: 9EXT3Jakwx1
python/mozbuild/mozbuild/testing.py
--- a/python/mozbuild/mozbuild/testing.py
+++ b/python/mozbuild/mozbuild/testing.py
@@ -255,20 +255,22 @@ class TestResolver(MozbuildObject):
 # While there are multiple test manifests, the behavior is very similar
 # across them. We enforce this by having common handling of all
 # manifests and outputting a single class type with the differences
 # described inside the instance.
 #
 # Keys are variable prefixes and values are tuples describing how these
 # manifests should be handled:
 #
-#    (flavor, install_prefix, package_tests)
+#    (flavor, install_root, install_subdir, package_tests)
 #
 # flavor identifies the flavor of this test.
-# install_prefix is the path prefix of where to install the files in
+# install_root is the path prefix to install the files starting from the root
+#     directory and not as specified by the manifest location. (bug 972168)
+# install_subdir is the path of where to install the files in
 #     the tests directory.
 # package_tests indicates whether to package test files into the test
 #     package; suites that compile the test files should not install
 #     them into the test package.
 #
 TEST_MANIFESTS = dict(
     A11Y=('a11y', 'testing/mochitest', 'a11y', True),
     BROWSER_CHROME=('browser-chrome', 'testing/mochitest', 'browser', True),