running tests
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon Apr 16 08:34:36 PDT 2012
I think you need, as now, tests grouped by area. For my part, I focus
on the "langtools" tests. In core-libs, you can see the existing groups
by looking at jdk/test/Makefile. The groups there are organized partly
by area, and partly to fit within the JPRT execution time limit. I
think you should either provide the same or very similar functionality,
or you should have discussions with the various dev teams about the
groupings they would like to see.
Note, although some of the groups were because of the JPRT time limit,
various people have been doing some great work to speed up the execution
of different parts of the jdk/test tests. So, it might be possible to
coalesce some of the groups at this point.
-- Jon
On 04/15/2012 10:13 PM, Fredrik Öhrström wrote:
> How about this?
>
> make quicktest
> # Runs a fast subset that verifies the basic
> # functionality of all modules. Should complete
> # in less than a minute.
>
> make test
> # Runs all tests! Takes a long time.
>
> make performance_tests
> # Test performance benchmarks
> make gc_tests
> # Test garbage collectors
> make codegen_tests
> # Test the compilers c1/c2/c3.... (oh, do I wish there was only one)
>
> Any more groups of tests Jon?
>
> //Fredrik
>
> 2012/4/15 Jonathan Gibbons<jonathan.gibbons at oracle.com>:
>> Right now, for a variety of reasons, including performance and reliability,
>> there are a number of test targets, each for a different area of tests.
>> While a single target for "all" tests might be useful for integrators,
>> developers are more likely to ask for and run one of the existing groups of
>> tests.
>>
>> -- Jon
>>
>>
>>
>> On 04/15/2012 08:49 AM, Fredrik Öhrström wrote:
>>> Sounds reasonable that we should support the same.
>>>
>>> Perhaps we ought to standardize on a test target so
>>> that you do not have to remember the -C.
>>>
>>> It should be really easy to run all the tests.
>>>
>>> //Fredrik
>>>
>>> 2012/4/12 Jonathan Gibbons<jonathan.gibbons at oracle.com>:
>>>> In the old build system, there was a convention along the lines of
>>>>
>>>> make&& make -C test
>>>>
>>>>
>>>> or its equivalent.
>>>>
>>>>
>>>> What are, or will be, the corresponding rules in the new build?
>>>>
>>>> -- Jon
>>
More information about the build-infra-dev
mailing list