RFR: 8340818: Add a new jtreg test root to test the generated documentation [v5]
Erik Joelsson
erikj at openjdk.org
Fri Oct 11 17:23:11 UTC 2024
On Fri, 11 Oct 2024 15:55:08 GMT, Nizar Benalla <nbenalla at 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
More information about the build-dev
mailing list