doc/testing.md
changeset 54570 93b702d2a0cb
parent 54525 5ae4d3f46537
child 57493 b95ebdbf68ca
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54569:7689e1cc56fe 54570:93b702d2a0cb
   386 To run these tests correctly, additional parameters for the correct docker image are
   386 To run these tests correctly, additional parameters for the correct docker image are
   387 required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
   387 required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
   388 
   388 
   389     $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
   389     $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
   390 
   390 
       
   391 ### Non-US locale
       
   392 
       
   393 If your locale is non-US, some tests are likely to fail. To work around this you can
       
   394 set the locale to US. On Unix platforms simply setting `LANG="en_US"` in the
       
   395 environment before running tests should work. On Windows, setting
       
   396 `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but not all test cases.
       
   397 For example:
       
   398 
       
   399     $ export LANG="en_US" && make test TEST=...
       
   400     $ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...
       
   401 
   391 ---
   402 ---
   392 # Override some definitions in the global css file that are not optimal for
   403 # Override some definitions in the global css file that are not optimal for
   393 # this document.
   404 # this document.
   394 header-includes:
   405 header-includes:
   395  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'
   406  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'