doc/testing.md
changeset 58296 7b534a5088d9
parent 57881 c414c554b38b
child 58679 9c3209ff7550
child 58930 a4ddd1667c72
equal deleted inserted replaced
58295:7973073dd048 58296:7b534a5088d9
   405 For example:
   405 For example:
   406 
   406 
   407     $ export LANG="en_US" && make test TEST=...
   407     $ export LANG="en_US" && make test TEST=...
   408     $ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...
   408     $ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...
   409 
   409 
       
   410 ### PKCS11 Tests
       
   411 
       
   412 It is highly recommended to use the latest NSS version when running PKCS11 tests.
       
   413 Improper NSS version may lead to unexpected failures which are hard to diagnose.
       
   414 For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu
       
   415 18.04 with the default NSS version in the system.
       
   416 To run these tests correctly, the system property `test.nss.lib.paths` is required
       
   417 on Ubuntu 18.04 to specify the alternative NSS lib directories.
       
   418 For example:
       
   419 
       
   420     $ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
       
   421 
       
   422 For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.
       
   423 
   410 ---
   424 ---
   411 # Override some definitions in the global css file that are not optimal for
   425 # Override some definitions in the global css file that are not optimal for
   412 # this document.
   426 # this document.
   413 header-includes:
   427 header-includes:
   414  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'
   428  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'