8274273: Update testing docs for MacOS with Non-US locale
Reviewed-by: erikj
This commit is contained in:
parent
61ac53f6e5
commit
5756385c2b
@ -229,7 +229,7 @@ TEST FAILURE</code></pre>
|
|||||||
JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu
|
JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu
|
||||||
-Djdk.test.docker.image.version=latest"</code></pre>
|
-Djdk.test.docker.image.version=latest"</code></pre>
|
||||||
<h3 id="non-us-locale">Non-US locale</h3>
|
<h3 id="non-us-locale">Non-US locale</h3>
|
||||||
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG="en_US"</code> in the environment before running tests should work. On Windows, setting <code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code> helps for most, but not all test cases.</p>
|
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG="en_US"</code> in the environment before running tests should work. On Windows or MacOS, setting <code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code> helps for most, but not all test cases.</p>
|
||||||
<p>For example:</p>
|
<p>For example:</p>
|
||||||
<pre><code>$ export LANG="en_US" && make test TEST=...
|
<pre><code>$ export LANG="en_US" && make test TEST=...
|
||||||
$ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...</code></pre>
|
$ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...</code></pre>
|
||||||
|
@ -506,7 +506,7 @@ $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" \
|
|||||||
|
|
||||||
If your locale is non-US, some tests are likely to fail. To work around this
|
If your locale is non-US, some tests are likely to fail. To work around this
|
||||||
you can set the locale to US. On Unix platforms simply setting `LANG="en_US"`
|
you can set the locale to US. On Unix platforms simply setting `LANG="en_US"`
|
||||||
in the environment before running tests should work. On Windows, setting
|
in the environment before running tests should work. On Windows or MacOS, setting
|
||||||
`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but
|
`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but
|
||||||
not all test cases.
|
not all test cases.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user