22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 if [ "x$TESTJAVA" = x ]; then
27 TESTJAVA=$1; shift
28 TESTCLASSES=.
29 TESTSRC=.
30 fi
31 export TESTJAVA
32
33 case "`uname`" in Windows*|CYGWIN* ) PS=';';; *) PS=':';; esac
34
35 ${TESTJAVA}/bin/javac -d ${TESTCLASSES} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} ${TESTSRC}/TestExtcheckArgs.java
36 rc=$?
37 if [ $rc != 0 ]; then
38 echo Compilation failure with exit status $rc
39 exit $rc
40 fi
41
42 ${TESTJAVA}/bin/java -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} TestExtcheckArgs
43 rc=$?
44 if [ $rc != 0 ]; then
45 echo Execution failure with exit status $rc
46 exit $rc
47 fi
|
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 if [ "x$TESTJAVA" = x ]; then
27 TESTJAVA=$1; shift
28 TESTCLASSES=.
29 TESTSRC=.
30 fi
31 export TESTJAVA
32
33 case "`uname`" in Windows*|CYGWIN* ) PS=';';; *) PS=':';; esac
34
35 ${TESTJAVA}/bin/javac -d ${TESTCLASSES} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} ${TESTSRC}/TestExtcheckArgs.java
36 rc=$?
37 if [ $rc != 0 ]; then
38 echo Compilation failure with exit status $rc
39 exit $rc
40 fi
41
42 ${TESTJAVA}/bin/java ${TESTVMOPTS} -classpath ${TESTJAVA}/lib/tools.jar${PS}${TESTCLASSES} TestExtcheckArgs
43 rc=$?
44 if [ $rc != 0 ]; then
45 echo Execution failure with exit status $rc
46 exit $rc
47 fi
|