On 05.11.2021 12:11, Junio C Hamano wrote: >Adam Dinwoodie writes: > >> This is probably a much broader conversation. I remember when I first >> started packaging Git for Cygwin, I produced a release that didn't >> have support for HTTPS URLs due to a missing dependency in my build >> environment. The build and test suite all passed -- it assumed I just >> wanted to build a release that didn't have HTTPS support -- so some >> relatively critical function was silently skipped. I don't know how to >> avoid that sort of issue other than relying on (a) user bug (or at >> least missing function) reports and (b) folk building Git for >> themselves/others periodically going through the output of the >> configure scripts and the skipped subtests to make sure only expected >> things get missed; neither of those options seem great to me. > >I agree with you that there needs a good way to enumerate what the >unsatisfied prerequisites for a particular build are. That would >have helped in your HTTPS situation. > Sorry for not replying earlier. I've been sick the last couple of days and only slowly getting up to speed again. I will improve the prereq tests in a new commit in the other patch series still in progress that i'll shortly reroll. As for the general prereq issue i ran into that as well during development. When you depend on other patches / a specific version of ssh-keygen for git I always have to remember to set the path correctly or the tests might silently be ignored by the missing prereq. Usually not a problem for single test runs, but when i run the full suite before sending something. So, here's a simple rfc patch to maybe start with addressing this issue.