This is the mail archive of the mauve-discuss@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Classpath-specific tests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]