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 |