Cudos to Jon for having a testbase that is 100% pass, that IS the way to go. ;^)

So I think that means you can

   cd langtools/test

and either run jtreg, or use the Makefile

   make PRODUCT_HOME=your_j2sdk-image-dir JT_HOME=jtreg_home TESTDIRS=.

How you run the jtreg tests is up to you.

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

-kto

Jonathan Gibbons wrote:
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

Reply via email to