test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh

Print this page




  53     FS="\\"
  54     ;;
  55   CYGWIN*)
  56     PS=";"
  57     OS="Windows"
  58     FS="\\"
  59     isCygwin=true
  60     ;;
  61   * )
  62     echo "Unrecognized system!"
  63     exit 1;
  64     ;;
  65 esac
  66 
  67 if [ "${TESTJAVA}" = "" ]
  68 then
  69   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  70   exit 1
  71 fi
  72 






  73 if [ "${TESTSRC}" = "" ]
  74 then
  75   echo "TESTSRC not set.  Test cannot execute.  Failed."
  76   exit 1
  77 fi
  78 
  79 if [ "${TESTCLASSES}" = "" ]
  80 then
  81   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  82   exit 1
  83 fi
  84 
  85 JAVA="${TESTJAVA}/bin/java"
  86 JAVAC="${TESTJAVA}/bin/javac"
  87 JAR="${TESTJAVA}/bin/jar"
  88 


  53     FS="\\"
  54     ;;
  55   CYGWIN*)
  56     PS=";"
  57     OS="Windows"
  58     FS="\\"
  59     isCygwin=true
  60     ;;
  61   * )
  62     echo "Unrecognized system!"
  63     exit 1;
  64     ;;
  65 esac
  66 
  67 if [ "${TESTJAVA}" = "" ]
  68 then
  69   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  70   exit 1
  71 fi
  72 
  73 if [ "${COMPILEJAVA}" = "" ]
  74 then
  75   COMPILEJAVA="${TESTJAVA}"
  76 fi
  77 echo "COMPILEJAVA=${COMPILEJAVA}"
  78 
  79 if [ "${TESTSRC}" = "" ]
  80 then
  81   echo "TESTSRC not set.  Test cannot execute.  Failed."
  82   exit 1
  83 fi
  84 
  85 if [ "${TESTCLASSES}" = "" ]
  86 then
  87   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  88   exit 1
  89 fi
  90 
  91 JAVA="${TESTJAVA}/bin/java"
  92 JAVAC="${COMPILEJAVA}/bin/javac"
  93 JAR="${COMPILEJAVA}/bin/jar"
  94