test/java/util/PluggableLocale/ExecTest.sh

Print this page
rev 8975 : 8028537: PPC64: Updated the JDK regression tests to run on AIX
Reviewed-by: alanb
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, volker.simonis@gmail.com


  45 then
  46   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  47   exit 1
  48 fi
  49 if [ "${COMPILEJAVA}" = "" ]
  50 then
  51   COMPILEJAVA="${TESTJAVA}"
  52 fi
  53 echo "TESTJAVA=${TESTJAVA}"
  54 if [ "${TESTCLASSES}" = "" ]
  55 then
  56   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  57   exit 1
  58 fi
  59 echo "TESTCLASSES=${TESTCLASSES}"
  60 echo "CLASSPATH=${CLASSPATH}"
  61 
  62 # set platform-dependent variables
  63 OS=`uname -s`
  64 case "$OS" in
  65   SunOS | Linux | Darwin )
  66     PS=":"
  67     FS="/"
  68     ;;
  69   Windows* | CYGWIN* )
  70     PS=";"
  71     FS="\\"
  72     ;;
  73   * )
  74     echo "Unrecognized system!"
  75     exit 1;
  76     ;;
  77 esac
  78 
  79 # set classpath and extension directory variables
  80 if [ -d ${TESTJAVA}${FS}lib${FS}ext ]
  81 then
  82     EXTDIRS="${TESTJAVA}${FS}lib${FS}ext${PS}${TESTCLASSES}"
  83 else
  84     EXTDIRS="${TESTJAVA}${FS}jre${FS}lib${FS}ext${PS}${TESTCLASSES}"
  85 fi




  45 then
  46   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  47   exit 1
  48 fi
  49 if [ "${COMPILEJAVA}" = "" ]
  50 then
  51   COMPILEJAVA="${TESTJAVA}"
  52 fi
  53 echo "TESTJAVA=${TESTJAVA}"
  54 if [ "${TESTCLASSES}" = "" ]
  55 then
  56   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  57   exit 1
  58 fi
  59 echo "TESTCLASSES=${TESTCLASSES}"
  60 echo "CLASSPATH=${CLASSPATH}"
  61 
  62 # set platform-dependent variables
  63 OS=`uname -s`
  64 case "$OS" in
  65   SunOS | Linux | Darwin | AIX )
  66     PS=":"
  67     FS="/"
  68     ;;
  69   Windows* | CYGWIN* )
  70     PS=";"
  71     FS="\\"
  72     ;;
  73   * )
  74     echo "Unrecognized system!"
  75     exit 1;
  76     ;;
  77 esac
  78 
  79 # set classpath and extension directory variables
  80 if [ -d ${TESTJAVA}${FS}lib${FS}ext ]
  81 then
  82     EXTDIRS="${TESTJAVA}${FS}lib${FS}ext${PS}${TESTCLASSES}"
  83 else
  84     EXTDIRS="${TESTJAVA}${FS}jre${FS}lib${FS}ext${PS}${TESTCLASSES}"
  85 fi