[PATCH] Fixes for running tests on WSL

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jan 11 16:51:57 UTC 2019


Erik,

Can you try a test run with the latest jtreg bits, and post the results 
for me to look at, to see why tests are failing and what, if anything, 
needs to be done?

-- Jon

On 1/10/19 9:02 PM, Andrew Luo wrote:
> I've updated my patch per the latest jtreg changes.  Tested this with the latest code synced from the jtreg repository, seems like shell tests do get run (but don't pass, tests will need to be changed).
>
> Thanks,
>
> -Andrew
>
> -----Original Message-----
> From: Jonathan Gibbons <jonathan.gibbons at oracle.com>
> Sent: Wednesday, January 9, 2019 1:39 PM
> To: Erik Joelsson <erik.joelsson at oracle.com>; Andrew Luo <andrewluotechnologies at outlook.com>; build-dev at openjdk.java.net
> Subject: Re: [PATCH] Fixes for running tests on WSL
>
> Erik,
>
> I have pushed a version of Andrew's patch for jtreg into the jtreg repo.
>
> With regard to Andrew's proposed patch for make/RunTests.gmk, the name of the option to use for jtreg is now just "-wsl'.
>
> -- Jon
>
> On 01/07/2019 01:10 AM, Erik Joelsson wrote:
>> Hello Andrew,
>>
>> If the patch gets accepted to Jtreg, this looks good. We will need to
>> wait for Jtreg support before pushing this though.
>>
>> /Erik
>>
>> On 2019-01-06 20:34, Andrew Luo wrote:
>>> Hi Everyone,
>>>
>>> I've gotten shell tests to run on WSL with some changes to jtreg and
>>> a small change to the OpenJDK gmake files.  Most of them are still
>>> not passing (I believe one or two of them did just work out of the
>>> box after these changes as failures + error count dropped; previous
>>> errors + previous failures < current failures; also "errors" dropped
>>> to zero), as the scripts themselves will need to be changed, however,
>>> at least now they can actually run...  My patch with proposed changes
>>> are attached.
>>>
>>> I've sent the corresponding jtreg changes to the code-tools-dev
>>> mailing list:
>>> https://mail.openjdk.java.net/pipermail/code-tools-dev/2019-January/0
>>> 00464.html
>>>
>>> Let me know if you have any feedback/comments.
>>>
>>> Thanks,
>>>
>>> -Andrew
>>>
>>>



More information about the build-dev mailing list