RFR: 8342836: Automatically determine that a test in the docs test root is requested

Magnus Ihse Bursie ihse at openjdk.org
Tue Nov 26 16:38:42 UTC 2024


On Wed, 20 Nov 2024 09:40:09 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

> One thing I noticed is that I can't set aliases for `test-docs_all` the same way it's done for the test groups above
> 
> ```
> test-hotspot-gtest: exploded-test-gtest
> test-jdk-jtreg-native: test-jdk_native_sanity
> ```
> 
> I suspect that's because I've already set aliases once in `AddTestDependency`
> 
> Trying to use an alias (as in `test-alldocs: test-docs_all`) emits this warning `make: *** No rule to make target 'test-alldocs'. Stop`

No, that's not it. You just need to add it to `ALL_TARGETS`.

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

PR Comment: https://git.openjdk.org/jdk/pull/22239#issuecomment-2501351946


More information about the build-dev mailing list