< prev index next >
test/hotspot/jtreg/test_env.sh
Print this page
rev 59103 : imported patch hotspot
*** 54,64 ****
echo "TESTOPTS=${TESTOPTS}"
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
! AIX | Darwin | Linux | SunOS )
NULL=/dev/null
PS=":"
FS="/"
RM=/bin/rm
CP=/bin/cp
--- 54,64 ----
echo "TESTOPTS=${TESTOPTS}"
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
! AIX | Darwin | Linux )
NULL=/dev/null
PS=":"
FS="/"
RM=/bin/rm
CP=/bin/cp
*** 147,177 ****
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
--- 147,163 ----
< prev index next >