This isn't an explicit goal for now, although where this is possible it can and should be done. When the patches in the bug I mentioned land, support files appearing alongside individual tests rather than in the DEFAULT section will result in only the support files for requested tests being installed.
For now, the main benefit will be going from installing/syncing every test and support file when any test is run (tens of thousands of files) to doing so a directory at a time in the typical case that support files are listed in the DEFAULT section of the manifest. Chris On Tue, Mar 29, 2016 at 1:12 PM, Jared Wein <[email protected]> wrote: > Is the goal moving forward to have "support-files" annotations alongside > the test that requires them instead of global to the manifest file? > > Will this allow a further optimization of only installing the support-file > for tests are being requested? > > Thanks, > Jared > > On Tue, Mar 29, 2016 at 12:55 PM, Christopher Manchester < > [email protected]> wrote: > >> As you may know, manifestparser test manifests (mochitest.ini, >> browser.ini and co.) contain a "support-files" field informing the build >> system certain files in the tree or generated at build time are required by >> tests. These files are currently installed to the objdir for some test >> flavors and incorporated into test archives. >> >> Currently, every support and test file is installed whenever tests are >> run, and many tests rely on support files in far away corners of the tree. >> We're working to improve our granularity here, so going forward we need to >> annotate a support file required by a test if that support file is in a >> different directory. >> >> I've prepared a patch to annotate existing dependencies, which I intend >> to land in bug 1242051. For details on the syntax used, please see that bug >> and the corresponding update to our in-tree documentation. >> >> Chris >> >> _______________________________________________ >> firefox-dev mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/firefox-dev >> >> > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

