test/javax/script/CommonSetup.sh

Print this page




  62   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  63   exit 1
  64 fi
  65 
  66 if [ "${TESTSRC}" = "" ]
  67 then
  68   echo "TESTSRC not set.  Test cannot execute.  Failed."
  69   exit 1
  70 fi
  71 
  72 if [ "${TESTCLASSES}" = "" ]
  73 then
  74   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  75   exit 1
  76 fi
  77 
  78 JAVA="${TESTJAVA}/bin/java"
  79 JAVAC="${TESTJAVA}/bin/javac"
  80 JAR="${TESTJAVA}/bin/jar"
  81 






  62   echo "TESTJAVA not set.  Test cannot execute.  Failed."
  63   exit 1
  64 fi
  65 
  66 if [ "${TESTSRC}" = "" ]
  67 then
  68   echo "TESTSRC not set.  Test cannot execute.  Failed."
  69   exit 1
  70 fi
  71 
  72 if [ "${TESTCLASSES}" = "" ]
  73 then
  74   echo "TESTCLASSES not set.  Test cannot execute.  Failed."
  75   exit 1
  76 fi
  77 
  78 JAVA="${TESTJAVA}/bin/java"
  79 JAVAC="${TESTJAVA}/bin/javac"
  80 JAR="${TESTJAVA}/bin/jar"
  81 
  82 # needed to get full headless behavior on Mac
  83 if [ "$OS" = "Darwin" ]; then
  84     export AWT_TOOLKIT=XToolkit
  85 fi