< prev index next >

test/hotspot/jtreg/test_env.sh

Print this page
rev 59383 : [mq]: final

@@ -1,8 +1,8 @@
 #!/bin/sh
 #
-#  Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
+#  Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
 #  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 # 
 #  This code is free software; you can redistribute it and/or modify it
 #  under the terms of the GNU General Public License version 2 only, as
 #  published by the Free Software Foundation.

@@ -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 >