How to test OpenJDK?

Kelly O'Hair Kelly.Ohair at Sun.COM
Sun May 31 18:39:57 UTC 2009


See  http://openjdk.java.net/jtreg/


I tend to use the jdk/test/Makefile myself:

    cd jdk/test && make PRODUCT_HOME=your_j2sdk-image-dir JT_HOME=jtreg_home TESTDIRS=java/lang

There are quite a few tests in the jdk/test directory and the above
only runs the java/lang tests, which should all pass.

As to which tests reliably pass and which fail, I can't tell you.
Maybe someone else can refer to something that documents what tests
are expected to pass in their area.

-kto

lianshun Liu wrote:
> Hi,
>  
> When I've finished building OpenJDK, how can I make sure that it will 
> work well? Is there any test suites that can be used to test the JVM?
>  
> Thanks :)
>  
> Lianshun Liu



More information about the build-dev mailing list