This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
Re: Classpath-specific tests
- From: Gary Benson <gbenson at redhat dot com>
- To: mauve-discuss at sourceware dot org
- Date: Wed, 24 Jan 2007 08:43:08 +0000
- Subject: Re: Classpath-specific tests
- References: <45B674F0.6080303@redhat.com>
Francis Kung wrote:
> Is there any special way to write tests that are Classpath-specific,
> ie, for our own packages like gnu.java.*? Or should this be left
> out of Mauve altogether?
I've used System.getProperty("gnu.classpath.version") != null
before to exclude tests when not running on Classpath. Check
out gnu/testlet/java/lang/Thread/security.java for an example.
Cheers,
Gary