RFR: JDK-8303822: gtestMain should give more helpful output

Matthias Baesken mbaesken at openjdk.org
Fri Mar 10 08:30:15 UTC 2023


On Thu, 9 Mar 2023 10:23:53 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> When the JDK to test is not provided, gtestMain currently prints something like this :
> ./hotspot/variant-server/libjvm/gtest/gtestLauncher
> ERROR: You must specify a JDK to use for running the unit tests.
> 
> The output could be improved, might be helpful for occasional users, e.g.
> `ERROR: You must specify a JDK (-jdk <image>, --jdk=<image> or -jdk:<image>) to use for running the unit tests.`

Hi Leonid, thanks for the review !

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

PR: https://git.openjdk.org/jdk/pull/12940


More information about the hotspot-runtime-dev mailing list