Wed, 15 Oct 2008 11:13:23 -0700
6759795: test/tools/apt/Basic/print.sh may fail depending on jtreg options
Reviewed-by: darcy
test/tools/apt/Basics/print.sh | file | annotate | diff | comparison | revisions |
1.1 --- a/test/tools/apt/Basics/print.sh Wed Oct 15 17:23:55 2008 +0100 1.2 +++ b/test/tools/apt/Basics/print.sh Wed Oct 15 11:13:23 2008 -0700 1.3 @@ -26,7 +26,6 @@ 1.4 # @test 1.5 # @bug 5008759 4998341 5018369 5032476 5060121 5096932 5096931 1.6 # @run shell ../verifyVariables.sh 1.7 -# @build Aggregate 1.8 # @run shell print.sh 1.9 # @summary test availabilty of print option 1.10 # @author Joseph D. Darcy 1.11 @@ -42,6 +41,12 @@ 1.12 ;; 1.13 esac 1.14 1.15 +# Compile file directly, without TESTJAVACOPTS 1.16 +# Don't use @build or @compile as these implicitly use jtreg -javacoption values 1.17 +# and it is important that this file be compiled as expected, for later comparison 1.18 +# against a golden file. 1.19 +"${TESTJAVA}/bin/javac" ${TESTTOOLVMOPTS} -d ${TESTCLASSES} ${TESTSRC}/Aggregate.java 1.20 + 1.21 # Construct path to apt executable 1.22 APT="${TESTJAVA}/bin/apt ${TESTTOOLVMOPTS} \ 1.23 -print "