RFR (M): Enable OpenJDK builds on Windows with MinGW/MSYS
Volker Simonis
volker.simonis at gmail.com
Fri Mar 16 17:50:52 UTC 2012
Hi Jonathan,
you're right, I havn't looked at the tests until now - just wanted to
get the build up and running.
My only concerns so far are the few tests which require a Korn Shell
as I think there's no ksh available for MinGW/Msys.
But I promise to look at it.
By the way, has anybody ever successfully run the tests on Windows
with either MKS or Cygwin?
Regards,
Volker
On Thu, Mar 15, 2012 at 2:07 AM, Jonathan Gibbons
<jonathan.gibbons at oracle.com> wrote:
> Volker,
>
> This work is very interesting!
>
> Have you looked at what changes might be necessary to any shell tests in the
> langtools/test and jdk/test directories?
>
> Many test shell scripts have a block of code of the form:
>
>
> OS=`uname -s`
> case "$OS" in
> SunOS | Linux | *BSD | Darwin )
> NULL=/dev/null
> PATHSEP=":"
> FILESEP="/"
> TMP=/tmp
> ;;
> CYGWIN* )
> NULL=/dev/null
> PATHSEP=";"
> FILESEP="/"
> TMP=/tmp
> ;;
> Windows* )
> NULL=NUL
> PATHSEP=";"
> FILESEP="\\"
> TMP=$TEMP
> ;;
> * )
> echo "Unrecognized system!"
> exit 1;
> ;;
> esac
>
>
> What would the equivalent case statement be for minGW/MSYS?
>
> -- Jon
More information about the build-dev
mailing list