< prev index next >

test/hotspot/jtreg/test_env.sh

Print this page
rev 59103 : imported patch hotspot

@@ -54,11 +54,11 @@
 echo "TESTOPTS=${TESTOPTS}"
 
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  AIX | Darwin | Linux | SunOS )
+  AIX | Darwin | Linux )
     NULL=/dev/null
     PS=":"
     FS="/"
     RM=/bin/rm
     CP=/bin/cp

@@ -147,31 +147,17 @@
 grep "linux" vm_version.out > ${NULL}
 if [ $? = 0 ]
 then
   VM_OS="linux"
 fi
-grep "solaris" vm_version.out > ${NULL}
-if [ $? = 0 ]
-then
-  VM_OS="solaris"
-fi
 grep "windows" vm_version.out > ${NULL}
 if [ $? = 0 ]
 then
   VM_OS="windows"
 fi
 
 VM_CPU="unknown"
-grep "sparc" vm_version.out > ${NULL}
-if [ $? = 0 ]
-then
-  VM_CPU="sparc"
-  if [ $VM_BITS = "64" ]
-  then
-    VM_CPU="sparcv9"
-  fi
-fi
 grep "x86" vm_version.out > ${NULL}
 if [ $? = 0 ]
 then
   VM_CPU="i386"
 fi
< prev index next >