提交 71e471aa 编写于 作者: C coleenp

7191926: Remove MKS dependency in Hotspot regression tests

Summary: Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
Contributed-by: pavel.punegov@oracle.com
上级 57780b7f
...@@ -31,6 +31,11 @@ case "$OS" in ...@@ -31,6 +31,11 @@ case "$OS" in
PS=";" PS=";"
FS="\\" FS="\\"
;; ;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -14,7 +14,7 @@ case "$OS" in ...@@ -14,7 +14,7 @@ case "$OS" in
PS=":" PS=":"
FS="/" FS="/"
;; ;;
Windows_* ) Windows_* | CYGWIN_* )
echo "Test skipped for Windows" echo "Test skipped for Windows"
exit 0 exit 0
;; ;;
......
...@@ -65,6 +65,14 @@ case "$OS" in ...@@ -65,6 +65,14 @@ case "$OS" in
CP=cp CP=cp
MV=mv MV=mv
;; ;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
RM=rm
CP=cp
MV=mv
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -38,6 +38,11 @@ case "$OS" in ...@@ -38,6 +38,11 @@ case "$OS" in
PS=";" PS=";"
FS="\\" FS="\\"
;; ;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -40,6 +40,11 @@ case "$OS" in ...@@ -40,6 +40,11 @@ case "$OS" in
PS=";" PS=";"
FS="\\" FS="\\"
;; ;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -46,7 +46,7 @@ case "$OS" in ...@@ -46,7 +46,7 @@ case "$OS" in
SunOS | Linux | Darwin ) SunOS | Linux | Darwin )
FS="/" FS="/"
;; ;;
Windows_* ) Windows_* | CYGWIN_* )
printf "Not testing libjsig.so on Windows. PASSED.\n " printf "Not testing libjsig.so on Windows. PASSED.\n "
exit 0 exit 0
;; ;;
......
...@@ -55,6 +55,12 @@ case "$OS" in ...@@ -55,6 +55,12 @@ case "$OS" in
CP=cp CP=cp
MV=mv MV=mv
;; ;;
CYGWIN_* )
FS="/"
RM=rm
CP=cp
MV=mv
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -56,6 +56,11 @@ case "$OS" in ...@@ -56,6 +56,11 @@ case "$OS" in
PS=";" PS=";"
FS="\\" FS="\\"
;; ;;
CYGWIN_* )
NULL=/dev/null
PS=";"
FS="/"
;;
* ) * )
echo "Unrecognized system!" echo "Unrecognized system!"
exit 1; exit 1;
......
...@@ -38,6 +38,18 @@ case "$OS" in ...@@ -38,6 +38,18 @@ case "$OS" in
PS=";" PS=";"
FS="\\" 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!" echo "Unrecognized system!"
exit 1; exit 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册