Skip to content

Commit 5756385

Browse files
committed
8274273: Update testing docs for MacOS with Non-US locale
Reviewed-by: erikj
1 parent 61ac53f commit 5756385

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/testing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h3 id="docker-tests">Docker Tests</h3>
229229
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu
230230
-Djdk.test.docker.image.version=latest&quot;</code></pre>
231231
<h3 id="non-us-locale">Non-US locale</h3>
232-
<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=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases.</p>
232+
<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=&quot;en_US&quot;</code> in the environment before running tests should work. On Windows or MacOS, setting <code>JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot;</code> helps for most, but not all test cases.</p>
233233
<p>For example:</p>
234234
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
235235
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>

doc/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" \
506506

507507
If your locale is non-US, some tests are likely to fail. To work around this
508508
you can set the locale to US. On Unix platforms simply setting `LANG="en_US"`
509-
in the environment before running tests should work. On Windows, setting
509+
in the environment before running tests should work. On Windows or MacOS, setting
510510
`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but
511511
not all test cases.
512512

0 commit comments

Comments
 (0)