37 echo "TESTJAVA not set. Test cannot execute. Failed." 38 exit 1 39 fi 40 41 if [ "${COMPILEJAVA}" = "" ]; then 42 COMPILEJAVA="${TESTJAVA}" 43 fi 44 45 if [ "${TESTSRC}" = "" ] 46 then 47 echo "TESTSRC not set. Test cannot execute. Failed." 48 exit 1 49 fi 50 51 if [ "${TESTCLASSES}" = "" ] 52 then 53 echo "TESTCLASSES not set. Test cannot execute. Failed." 54 exit 1 55 fi 56 57 JAVAEXE="$TESTJAVA/bin/java ${TESTVMOPTS}" 58 JAVA="$TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES" 59 JAR="$COMPILEJAVA/bin/jar ${TESTTOOLVMOPTS}" 60 OS=`uname -s`; 61 62 # 63 # Tests whether we are on windows (true) or not. 64 # 65 IsWindows() { 66 case "$OS" in 67 Windows* | CYGWIN* ) 68 printf "true" 69 ;; 70 * ) 71 printf "false" 72 ;; 73 esac 74 } 75 76 # 77 # Shell routine to test for the proper rejection of syntactically incorrect 78 # version specifications. | 37 echo "TESTJAVA not set. Test cannot execute. Failed." 38 exit 1 39 fi 40 41 if [ "${COMPILEJAVA}" = "" ]; then 42 COMPILEJAVA="${TESTJAVA}" 43 fi 44 45 if [ "${TESTSRC}" = "" ] 46 then 47 echo "TESTSRC not set. Test cannot execute. Failed." 48 exit 1 49 fi 50 51 if [ "${TESTCLASSES}" = "" ] 52 then 53 echo "TESTCLASSES not set. Test cannot execute. Failed." 54 exit 1 55 fi 56 57 JAVAEXE="$TESTJAVA/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS}" 58 JAVA="$TESTJAVA/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} -classpath $TESTCLASSES" 59 JAR="$COMPILEJAVA/bin/jar ${TESTTOOLVMOPTS}" 60 OS=`uname -s`; 61 62 # 63 # Tests whether we are on windows (true) or not. 64 # 65 IsWindows() { 66 case "$OS" in 67 Windows* | CYGWIN* ) 68 printf "true" 69 ;; 70 * ) 71 printf "false" 72 ;; 73 esac 74 } 75 76 # 77 # Shell routine to test for the proper rejection of syntactically incorrect 78 # version specifications. |