diff --git a/src/doc/testing.html b/src/doc/testing.html index 1c5a4ccdceb..4e48c15bdd1 100644 --- a/src/doc/testing.html +++ b/src/doc/testing.html @@ -35,6 +35,9 @@
Additional options to the Gtest test framework.
Use GTEST="OPTIONS=--help"
to see all available Gtest options.
Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:
+$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker"
+To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using JAVA_OPTIONS
.
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"