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

Matthias Baesken mbaesken at openjdk.org
Fri Mar 10 08:30:16 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.`

This pull request has now been integrated.

Changeset: 0f26d09d
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0f26d09da881b1dfedfc0dcaff46fc169fa1f020
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8303822: gtestMain should give more helpful output

Reviewed-by: lmesnik

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

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


More information about the hotspot-runtime-dev mailing list