Gentoo Archives: gentoo-java

From: Vlastimil Babka <caster@g.o>
To: gentoo-java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] contributing to Gentoo Java
Date: Sat, 23 Sep 2006 00:08:31
Message-Id: 45147AD0.30602@gentoo.org
In Reply to: Re: [gentoo-java] contributing to Gentoo Java by "William L. Thomson Jr."
1 William L. Thomson Jr. wrote:
2 > This might be a case where a patch is required to remove the test target
3 > from depends unless the test USE flag or etc is set.
4
5 Actually, even in case of FEATURES=test (and USE=test), you want to
6 remove the test target from depends. Because testing (including building
7 of the test cases, often done in compile-tests target upon which test
8 target depends) should be invoked in src_test() phase, not in
9 src_compile() as part of main build process. So you patch build.xml in
10 any case, and do something like "eant test" in src_test().
11
12 --
13 Vlastimil Babka (Caster)
14 Gentoo/Java
15 --
16 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] contributing to Gentoo Java robert burrell donkin <robertburrelldonkin@×××××.com>