On 2026-07-27 09:50, Daniel P. Berrangé wrote:
I would suggest that building a second time is wasted effort too. If the 2nd build is byte-for-byte identical to the 1st build, then it is pointless. If it is not byte-for-byte identical, then you'll be taking binaries that have not been tested.
You're absolutely right. They are bit-to-bit-identical, and it is wasted effort, too. That is something we'll look at internally.
However, it felt like a genuinely useful feature to split build and test phase more strongly, by having the ability to only build the product binaries if desired.
There are other options, of course. A new build target such as "make bin" or similar could only build the product binaries, and a following "make test" would then build + run the tests. This could be combined with Philippe's idea to run (and not only build) the tests by default, though I'm always wary of changing the behaviour of default targets. That's obviously a maintainers' decision.
Cheers, Florian
