nativepath option related error while running test
Vipin Sharma
vipinsharma85 at gmail.com
Sun Mar 14 06:38:00 UTC 2021
Hi,
I am using jtreg plugin for Intellij to run tests on my desktop. Some of
the tests are expecting -nativepath, if not provided we get an error.
For example, when running test HeapMonitorArrayAllSampledTest I get the
following error:
Use -nativepath to specify the location of native code
To resolve this issue I found a workaround in a comment on bug
https://bugs.openjdk.java.net/browse/JDK-8189374
As workaround running `make test-image-hotspot-jtreg-native` to generate
.so files for the tests and then using following option while running test
-nativepath:/home/vipin/githubprojects/jdk/build/linux-x86_64-server-release/support/test/hotspot/jtreg/native/lib
To set up the JDK project I use instructions for impatiens given at
https://github.com/openjdk/jdk/blob/master/doc/building.md
is there any step I am missing, that can automatically add the nativepath
option wherever needed?
Regards,
Vipin
More information about the jtreg-dev
mailing list