comparison doc/testing.html @ 54525:5ae4d3f46537

8222299: [TESTBUG] move hotspot container tests to hotspot/containers Summary: Moved the tests, updated relevant files Reviewed-by: dholmes, iignatyev
author mseledtsov
date Fri, 12 Apr 2019 12:26:29 -0700
parents e437ad5643d6
children 93b702d2a0cb
comparison
equal deleted inserted replaced
14:aa55edfda70a 15:6c5ca3b04988
189 <h4 id="options-2">OPTIONS</h4> 189 <h4 id="options-2">OPTIONS</h4>
190 <p>Additional arguments to send to JMH.</p> 190 <p>Additional arguments to send to JMH.</p>
191 <h2 id="notes-for-specific-tests">Notes for Specific Tests</h2> 191 <h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
192 <h3 id="docker-tests">Docker Tests</h3> 192 <h3 id="docker-tests">Docker Tests</h3>
193 <p>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:</p> 193 <p>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:</p>
194 <pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/runtime/containers/docker&quot;</code></pre> 194 <pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot;</code></pre>
195 <p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p> 195 <p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
196 <pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/runtime/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre> 196 <pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre>
197 </body> 197 </body>
198 </html> 198 </html>