test/sun/security/util/Oid/S11N.sh
Print this page
@@ -37,10 +37,13 @@
if [ "${TESTJAVA}" = "" ] ; then
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
+if [ "${COMPILEJAVA}" = "" ]; then
+ COMPILEJAVA="${TESTJAVA}"
+fi
# set platform-dependent variables
PF=""
OS=`uname -s`
@@ -101,11 +104,11 @@
echo "Try to set ALT_JAVA_RE_JDK if you see timeout error"
echo "==================================================="
# the test code
-${TESTJAVA}${FS}bin${FS}javac -target 1.4 -source 1.4 \
+${COMPILEJAVA}${FS}bin${FS}javac -target 1.4 -source 1.4 \
-d . ${TESTSRC}${FS}SerialTest.java || exit 10
# You can set ALT_JAVA_RE_JDK to another location that contains the
# binaries for older JDK releases. You can set it to a non-existent
# directory to skip the interop tests between different versions.