It might still mean that we can save time on tryserver if we only build these by default if the user has opted in to running the relevant tests.
I agree with Gregory. I really don't see much value in building these binaries by default. For the people that use them often enough that they are worth having, adding a line to mozconfig is easy enough. This also seems independent on other build system improvements. Either way we'd save by not building these files. / Jonas On Fri, Oct 2, 2015 at 6:09 AM, Eric Rescorla <e...@rtfm.com> wrote: > On Thu, Oct 1, 2015 at 10:25 PM, Mike Hommey <m...@glandium.org> wrote: > >> On Thu, Oct 01, 2015 at 10:10:39PM -0700, Gregory Szorc wrote: >> > Currently, the Firefox build system builds C++ tests by default. This >> adds >> > extra time to builds for something that a significant chunk of developers >> > don't care about because they don't run them. >> > >> > An easy way to get faster builds is to disable C++ tests by default >> > (requiring a mozconfig entry to enable them - which would be enabled in >> > automation, of course). A more involved solution is to build them on >> > demand, when tests are executed (unless a build option says to build them >> > like today). >> > >> > I was curious if Gecko developers (the audience I perceive that cares >> about >> > them the most) would be generally opposed to disabling building C++ tests >> > by default. If not, we can go with an easy solution (and require people >> who >> > care to add a mozconfig entry). If so, we go with the harder solution. >> > >> > Is disabling building C++ tests by default a reasonable change? >> >> I don't think it is worth the effort. Specifically, we're not really >> equiped to actually do it currently, and all in all, it's not taking that >> much of the build time relative to all the other stuff. The one C++ test >> that has a significant build time impact is gtest, and we're already >> skipping it. >> >> I'm more interested in growing the faster-make backend to deal with C++ >> compilation in a sane way than working around the recursive-make >> deficiencies like this. > > > +10. > > When I do build Gecko, I need the C++ unit tests, so this wouldn't save me > time at all. Are these tests being built every time someone does an > incremental > build or just when someone changes something in the test? If the latter, > then this seems like it's of pretty small value since most builds are > incremental. > If the former, then this seems to point to a problem in the build system. > > Reading Sylvestre's mail, it seems like there is some thought to disable > them > on at least some automation? I would be strongly opposed to this. C++ unit > tests are the main test suite for WebRTC, so this would be bad. > > -Ekr > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform