hg: code-tools/jtreg: 7902375: Update bin/jtreg script to support Windows Subsystem for Linux (WSL)

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jan 31 01:45:21 UTC 2019


For those that may be interested, I've posted an update for the 
bin/jtreg script, to fix it to work on WSL.

It should support all combinations of using a Windows or Linux JDK to 
run jtreg, and to test a Windows or Linux JDK.  I've also refactored the 
code to tidy up the necessary work for both Cygwin and WSL.

Tested on standard Linux, Cygwin and WSL with a Windows JDK.

The need for the -wsl command line option is "annoying", and caught me 
out a few times during testing. I'll enhance that code to improve the 
default behavior. I've filed CODETOOLS-7902376 for that.

-- Jon


On 01/30/2019 05:02 PM, jonathan.gibbons at oracle.com wrote:
> Changeset: 7a14d878d20f
> Author:    jjg
> Date:      2019-01-30 17:02 -0800
> URL:       http://hg.openjdk.java.net/code-tools/jtreg/rev/7a14d878d20f
>
> 7902375: Update bin/jtreg script to support Windows Subsystem for Linux (WSL)
>
> ! src/share/bin/jtreg.sh
>



More information about the jtreg-dev mailing list