Testing your jdk builds, both jdk7/tl/jdk and jdk6/jdk6/jdk
Kelly O'Hair
Kelly.Ohair at Sun.COM
Wed Dec 16 01:42:40 UTC 2009
The jdk/test/Makefile should be in both jdk7/tl and jdk6/jdk6
repositories now.
The jtreg tool is needed, so to download and install the latest
jtreg tool do the following:
wget http://www.java.net/download/openjdk/jtreg/promoted/b03/jtreg-4_0-bin-b03-31_mar_2009.zip
unzip jtreg-4_0-bin-b03-31_mar_2009.zip
export JT_HOME=`pwd`/jtreg
Build your jdk image, e.g.
cd jdk/make && gnumake all images
Then run all the stable jdk tests:
cd jdk/test && gnumake -k jdk_all
If you have a 2 CPU machine and are feeling brave, try:
cd jdk/test && gnumake -k -j 4 jdk_all
If you do try this out, please let me know how it went.
I'm still refining what tests are considered "stable" and I
haven't completed my testing of Windows&CYGWIN, so I know
the set of tests run will be changing a little.
-kto
More information about the build-dev
mailing list