test/javax/imageio/metadata/IIOMetadataFormat/runMetadataFormatTest.sh

Print this page

        

*** 170,180 **** echo "Just a reminder: cd to the dir containing this test when running it" # then compile all .java files (if there are any) into .class files if [ -a *.java ] ; then echo "Reminder, this test should be in its own directory with all" echo "supporting files it needs in the directory with it." ! ${TESTJAVA}/bin/javac ./*.java ; fi # else in harness so copy all the class files from where jtreg put them # over to the scratch directory this test is running in. else cp ${TESTCLASSES}/*.class . ; fi --- 170,180 ---- echo "Just a reminder: cd to the dir containing this test when running it" # then compile all .java files (if there are any) into .class files if [ -a *.java ] ; then echo "Reminder, this test should be in its own directory with all" echo "supporting files it needs in the directory with it." ! ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} ./*.java ; fi # else in harness so copy all the class files from where jtreg put them # over to the scratch directory this test is running in. else cp ${TESTCLASSES}/*.class . ; fi
*** 209,219 **** mkdir ./test_classes # split application classes and test plugin classes mv ./UserPluginMetadataFormatTest*.class ./test_classes ! $TESTJAVA/bin/java MetadataFormatTest test_classes UserPluginMetadataFormatTest ############### END YOUR TEST CODE !!!!! ############ status=$? # pass or fail the test based on status of the command --- 209,219 ---- mkdir ./test_classes # split application classes and test plugin classes mv ./UserPluginMetadataFormatTest*.class ./test_classes ! $TESTJAVA/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} MetadataFormatTest test_classes UserPluginMetadataFormatTest ############### END YOUR TEST CODE !!!!! ############ status=$? # pass or fail the test based on status of the command