Re: run-tests on WSL; was Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-15 Thread Magnus Ihse Bursie
Yeah, it definitely is an issue with path conversion on WSL. jtreg is jumping back and forth between the Windows and the Linux world. For instance, it sets TESTSRC=C:/localdata/hg/sandbox-ALT/open/test/jdk/java/lang/Class/forName using Windows paths, but then calls     wsl.exe \     sh /mnt

Re: run-tests on WSL; was Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-15 Thread Magnus Ihse Bursie
On 2020-05-14 19:00, Jonathan Gibbons wrote: Separate from this RFR, jtreg supports WSL (or is supposed to!) and so I wonder if you have looked at using WSL in the run-tests framework. I just did "make test-tier1", and got this: == Test summary ==

run-tests on WSL; was Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-14 Thread Jonathan Gibbons
Separate from this RFR, jtreg supports WSL (or is supposed to!) and so I wonder if you have looked at using WSL in the run-tests framework. -- Jon

Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-14 Thread Erik Joelsson
Looks good. /Erik On 2020-05-14 09:42, Magnus Ihse Bursie wrote: On 2020-05-14 18:23, Erik Joelsson wrote: On 2020-05-14 07:45, Magnus Ihse Bursie wrote: Here's a bunch of minor fixes to improve developer experience when building on WSL. The fixes include:  * Now the FixPath macro works fo

Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-14 Thread Magnus Ihse Bursie
On 2020-05-14 18:23, Erik Joelsson wrote: On 2020-05-14 07:45, Magnus Ihse Bursie wrote: Here's a bunch of minor fixes to improve developer experience when building on WSL. The fixes include:  * Now the FixPath macro works for WSL.  * TestImage.gmk tried to use FIXPATH for /bin/echo, does not

Re: RFR: JDK-8245033 Fixes for building in WSL

2020-05-14 Thread Erik Joelsson
On 2020-05-14 07:45, Magnus Ihse Bursie wrote: Here's a bunch of minor fixes to improve developer experience when building on WSL. The fixes include:  * Now the FixPath macro works for WSL.  * TestImage.gmk tried to use FIXPATH for /bin/echo, does not work on WSL  * Use -t drvfs option to df