Need reviewers - jdk testing changes 6888927
Andrew John Hughes
gnu_andrew at member.fsf.org
Sun Nov 8 01:27:36 UTC 2009
2009/11/6 Jonathan Gibbons <Jonathan.Gibbons at sun.com>:
> Kelly O'Hair wrote:
>>> I like this idea, the time to run a jdk jtreg test has put me off in the
>>> BTW, jtreg is the one thing I wouldn't mind having in the tree as it's
>>> not something people are likely to have installed. IcedTea has a cut
>>> down copy and that means tests get run.
>> I could add some makefile rules that detect when JT_HOME is not defined
>> or cannot be found, then do a wget of the jtreg bundle and installs it
>> in the build/*/ area for use. Just hate to have that repeatedly done
>> over and over. I usually keep the latest jtreg in my own ~/import area
>> along with the 1.7.1 ant and latest findbugs.
>> Not sure what the best answer is for insuring the latest jtreg is
>> available to use.
> There's a lot of setup needed for a JDK build, making sure that all the
> stuff is installed -- it's not clear to me why jtreg should be singled out
> special treatment. That being said, it would be nice to have more uniform
> support for making sure that everything necessary is available.
> -- Jon
It was just a thought for now. I don't really like the idea of
downloading random binaries for it either.
I do think there is a very significant difference between the other
dependencies and JTReg. Things like compilers and X11 headers are
common to building many packages, so if you're building something you
expect them to be required. JTReg, AFAIK, is unique to the JDK and
not widely available (I couldn't even see a link to its development
repository or source code tarballs on the OpenJDK pages). It's also
needed for doing something optional at build time (running tests) that
we want to encourage, rather than something mandatory that is needed
to make the runtime work.
Is JTReg being actively developed? Is it used by other projects? If
not, why not just have it as part of the JDK source base?
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the build-dev