Ho do I launch hotspot gtests?
mikael.gerdin at oracle.com
Thu Dec 1 11:57:11 UTC 2016
On 2016-12-01 12:44, Thomas Stüfe wrote:
> Hi all,
> a small question, what is the correct way to execute the hotspot gtests?
The easiest way is to run
$ make test-hotspot-gtest
in the build directory for your configuration
in my case that directory is
but the name depends on your configure command line.
> I find that I can run <libjvm.so>/gtestLauncher and it will execute the
> tests, is that the normal way to go?
> But it then always requires a jdk argument, which seems odd considering the
> gtest launcher is located right beside the libjvm.so and so should know the
> jdk directory.
> Also, running the test a second time I get a crash (on windows) in
> # Internal Error
> pid=16488, tid=11288
> # assert(!file_exists(name)) failed: can't create directory: tmplogdir
> already exists
> which looks to me that some cleanup steps are missing and that maybe I do
> things the wrong way.
> Thanks for clarifying,
More information about the hotspot-dev