changeset 4119:83b6305a5638

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
author coleenp
date Wed, 29 Aug 2012 14:49:05 -0400
parents 7f813940ac35
children 0acd345fd810
files test/compiler/6894807/Test6894807.sh test/gc/6941923/test6941923.sh test/runtime/6626217/Test6626217.sh test/runtime/6878713/Test6878713.sh test/runtime/7020373/Test7020373.sh test/runtime/7051189/Xchecksig.sh test/runtime/7110720/Test7110720.sh test/runtime/7158800/Test7158800.sh test/runtime/7158988/TestFieldMonitor.sh
diffstat 9 files changed, 48 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/6894807/Test6894807.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/compiler/6894807/Test6894807.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -31,6 +31,11 @@
     PS=";"
     FS="\\"
     ;;
+  CYGWIN_* )
+    NULL=/dev/null
+    PS=";"
+    FS="/"
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/gc/6941923/test6941923.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/gc/6941923/test6941923.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -14,7 +14,7 @@
     PS=":"
     FS="/"
     ;;
-  Windows_* )
+  Windows_* | CYGWIN_* )
     echo "Test skipped for Windows"
     exit 0 
     ;;
--- a/test/runtime/6626217/Test6626217.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/6626217/Test6626217.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -65,6 +65,14 @@
     CP=cp
     MV=mv
     ;;
+  CYGWIN_* )
+    NULL=/dev/null
+    PS=";"
+    FS="/"
+    RM=rm
+    CP=cp
+    MV=mv
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/runtime/6878713/Test6878713.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/6878713/Test6878713.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -38,6 +38,11 @@
     PS=";"
     FS="\\"
     ;;
+  CYGWIN_* )
+    NULL=/dev/null
+    PS=";"
+    FS="/"
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/runtime/7020373/Test7020373.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/7020373/Test7020373.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -40,6 +40,11 @@
     PS=";"
     FS="\\"
     ;;
+  CYGWIN_* )
+    NULL=/dev/null
+    PS=";"
+    FS="/"
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/runtime/7051189/Xchecksig.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/7051189/Xchecksig.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -46,7 +46,7 @@
   SunOS | Linux | Darwin )
     FS="/"
     ;;
-  Windows_* )
+  Windows_* | CYGWIN_* )
     printf "Not testing libjsig.so on Windows. PASSED.\n "
     exit 0
     ;;
--- a/test/runtime/7110720/Test7110720.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/7110720/Test7110720.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -55,6 +55,12 @@
     CP=cp
     MV=mv
     ;;
+  CYGWIN_* )
+    FS="/"
+    RM=rm
+    CP=cp
+    MV=mv
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/runtime/7158800/Test7158800.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/7158800/Test7158800.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -56,6 +56,11 @@
     PS=";"
     FS="\\"
     ;;
+  CYGWIN_* )
+    NULL=/dev/null
+    PS=";"
+    FS="/"
+    ;;
   * )
     echo "Unrecognized system!"
     exit 1;
--- a/test/runtime/7158988/TestFieldMonitor.sh	Tue Aug 28 15:24:39 2012 -0700
+++ b/test/runtime/7158988/TestFieldMonitor.sh	Wed Aug 29 14:49:05 2012 -0400
@@ -38,6 +38,18 @@
     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;