How to test OpenJDK?

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Sun May 31 21:08:48 UTC 2009


There are ~1500 tests in langtools/test, and all should pass.

-- Jon


On May 31, 2009, at 11:39 AM, Kelly O'Hair wrote:

> 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