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

Print this page

        

@@ -170,11 +170,11 @@
    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 ; 
+      ${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,11 +209,11 @@
 mkdir ./test_classes
  
 # split application classes and test plugin classes
 mv ./UserPluginMetadataFormatTest*.class ./test_classes
 
-$TESTJAVA/bin/java MetadataFormatTest test_classes UserPluginMetadataFormatTest
+$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