On 10/12/16 7:38 PM, Andres Freund wrote: >> We generally don't build test code during make world. > FWIW, I find that quite annoying. I want to run make world with parallelism so > I can run make world afterwards with as little unnecessary > unparallelized work. And since the latter takes just about forever, any > errors visible earlier are good. > > What are we gaining by this behaviour?
Well, the purpose of make all or make world is to build the things that are to be installed by make install or make install-world, which is the stuff that users want to use. The purpose is not necessarily to build stuff for the amusement of developers. Remember that we used to have some dusty corners under src/test/, so "build everything no matter what" is/was not a clearly better strategy. Also, some test code used to take a relatively long time to build, which led to some level of annoyance. It might be worth reviewing this approach, but that's what it is. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers