7191926: Remove MKS dependency in Hotspot regression tests

Add case for CYGWIN in .sh files.

Reviewed-by: coleenp, kvn
This commit is contained in:
Pavel Punegov 2012-08-29 14:49:05 -04:00 committed by Coleen Phillimore
parent 40c1bd4242
commit 373b8ccd27
9 changed files with 48 additions and 2 deletions

View File

@ -31,6 +31,11 @@ case "$OS" in
PS=";"
FS="\\"
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -14,7 +14,7 @@ case "$OS" in
PS=":"
FS="/"
;;
Windows_* )
Windows_* | CYGWIN_* )
echo "Test skipped for Windows"
exit 0
;;

View File

@ -65,6 +65,14 @@ case "$OS" in
CP=cp
MV=mv
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
RM=rm
CP=cp
MV=mv
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -38,6 +38,11 @@ case "$OS" in
PS=";"
FS="\\"
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -40,6 +40,11 @@ case "$OS" in
PS=";"
FS="\\"
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -46,7 +46,7 @@ case "$OS" in
SunOS | Linux | Darwin )
FS="/"
;;
Windows_* )
Windows_* | CYGWIN_* )
printf "Not testing libjsig.so on Windows. PASSED.\n "
exit 0
;;

View File

@ -55,6 +55,12 @@ case "$OS" in
CP=cp
MV=mv
;;
CYGWIN_* )
FS="/"
RM=rm
CP=cp
MV=mv
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -56,6 +56,11 @@ case "$OS" in
PS=";"
FS="\\"
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* )
echo "Unrecognized system!"
exit 1;

View File

@ -38,6 +38,18 @@ case "$OS" in
PS=";"
FS="\\"
;;
CYGWIN_NT* )
NULL=/dev/null
PS=";"
FS="/"
;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
echo "Test skipped, only for WinNT"
exit 0
;;
* )
echo "Unrecognized system!"
exit 1;