RFR: 7903206: Support MSYS2 for building jtreg on Windows

Christian Stein cstein at openjdk.java.net
Thu Jun 9 09:02:17 UTC 2022


On Thu, 9 Jun 2022 08:31:59 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> 7903206: Support MSYS2 for building jtreg on Windows
>
> make/Defs.gmk line 59:
> 
>> 57: endif
>> 58: 
>> 59: ifneq (,$(findstring MSYS,$(SYSTEM_UNAME)))
> 
> Look for MINGW as well; depending on how MSYS2 is configured, it can present itself as MSYS, MINGW32 or MINGW64 (the default).

Good catch.

Any idea if `findstring` supports logical OR operation? _Looking for its man page..._

-------------

PR: https://git.openjdk.java.net/jtreg/pull/87


More information about the jtreg-dev mailing list