running tests
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon May 21 06:32:08 PDT 2012
On 2012-04-12 22:30, Jonathan Gibbons wrote:
> 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?
I just pushed a change to the build-infra forest that imlements the
following:
make test TEST="jdk_lang jdk_misc"
That is, I added a new target "test" which, basically, calls the
ROOT/test/Makefile with suitable variables to fit the new build. Also,
if you specify the variable TEST, the contents of this will be used as
targets to call in the ROOT/test/Makefile. You can specify zero, one or
more such test targets; for multiple targets you need to enclose them in
quotes. If you don't specify any TEST value, the result is the same as
running the default target on the test Makefile.
Do you think this sounds like a good solution?
/Magnus
More information about the build-infra-dev
mailing list