running jtreg tests
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri May 13 12:50:01 PDT 2011
On 05/13/2011 09:41 AM, Henri Gomez wrote:
> 2011/5/13 Jonathan Gibbons<jonathan.gibbons at oracle.com>:
>> I would recommend adding -ignore:quiet to all uses of jtreg, since it
>> suppresses errors caused by problems in the test that are unrelated to the
>> product being tested. These tests use @ignore to mark the tests as
>> currently dysfunctional.
>>
> Adding it right now
>
>> I would also recommend specifying explicit and distinct work and report
>> directories for invocations of jtreg on separate test suites, such as
>> jdk/test and langtools/test. You can use the -w and -r options to set these
>> values. This will prevent the results from the two runs interfering with
>> each other. (The defaults are to use JTwork and JTreport. I'd suggest
>> using build/jtreg//testsuite//{work,report} -- that way if you blow away
>> the build/ directory for a clean build, you blow away the results as well.
> Some examples for us ?
Will provide some examples when I'm back on my Mac.
Also, langtools tests can be run much faster if you use samevm mode: use the
-samevm option.
-- Jon
More information about the macosx-port-dev
mailing list