On Fri, 11 Oct 2024 15:55:08 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:

> Is it okay to assume that if someone wants to test the generated docs, he 
> will have most luckily built them beforehand?
> So it can work if users use `make test TEST=some/specific/test/in/docs`, 
> while not being ideal.

I definitely think it's worth trying to figure out a reasonably well 
functioning way to automate this dependency as Magnus is trying to suggest. 
People in general expect make targets to have proper dependencies. If you 
change something and run `make test...` you expect the relevant part of the 
build to rerun before starting the tests. Having to remember to run multiple 
things in order leads to mistakes.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21272#issuecomment-2407833286

Reply via email to