How to run jigsaw unit tests ...

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Mar 29 10:41:34 PDT 2010


Sean Mullan wrote:
> There is nothing under the jdk/build directory and this is where the 
> tests are looking for javac.
>
> Will try to build again first.
>
> --Sean
>
> Jonathan Gibbons wrote:
>> Sean Mullan wrote:
>>> How do you run the jigsaw unit tests? I'm getting compilation errors 
>>> with jtreg - is there a new switch I have to specify to use modules?
>>>
>>> --Sean
>> How are you trying to run the tests and what compilation errors are 
>> you getting?
>>
>> -- Jon
Are you trying a jdk-only build, or a top level build?

 From the top level, you want to do "make modules", and that should 
create images named TOP/build/PLATFORM-ARCH/*image

I don't know that you can just build within jdk ("cd jdk/; make -C 
make") but I would image that would start running into the incremental 
build issues that I've been reporting in another thread here.

-- Jon



More information about the jigsaw-dev mailing list