1 |
I agree with "a". |
2 |
A problem with "b" is: the user might install one of those "optional |
3 |
dependencies" later, but that will not trigger a rebuild of the other |
4 |
package and another run through the test phase. |
5 |
I would find "c" a bit confusing. |
6 |
|
7 |
The most elegant way would probably be to trigger a remerge of package |
8 |
a, when you want to emerge package b which is also an optional |
9 |
dependency of package a (in case package a has a test phase ofc). But I |
10 |
don't see a clean and easy way to do that. |
11 |
|
12 |
On 01/06/2013 01:28 PM, Diego Elio Pettenò wrote: |
13 |
> Go for a. The widest and more consistent the testing, the better. |
14 |
> |
15 |
> Otherwise the day after tomorrow you'll get a bug from me that with |
16 |
> $foo installed, $bar fails tests. |
17 |
> Diego Elio Pettenò — Flameeyes |
18 |
> flameeyes@×××××××××.eu — http://blog.flameeyes.eu/ |
19 |
> |
20 |
> |
21 |
> On Sun, Jan 6, 2013 at 11:38 AM, Michał Górny <mgorny@g.o> wrote: |
22 |
>> Hello, |
23 |
>> |
24 |
>> There are some Python packages which have a bunch of optional tests |
25 |
>> utilizing external packages. For example, the dev-python/logilab-common |
26 |
>> runs a few additional tests if dev-python/egenix-mx-base is installed; |
27 |
>> if the package is not installed, it just skips those tests. |
28 |
>> |
29 |
>> Those tests can't be really considered 'heavy' or in any way suggesting |
30 |
>> use of an additional USE flag. |
31 |
>> |
32 |
>> Do you believe that the ebuilds should: |
33 |
>> |
34 |
>> a) depend on all optional test dependencies conditionally to USE=test, |
35 |
>> therefore always requesting the widest (and consistent) testing, |
36 |
>> |
37 |
>> b) not depend on the optional test dependencies, resulting in less |
38 |
>> dependencies for most users but also a bit inconsistent test |
39 |
>> experience, |
40 |
>> |
41 |
>> c) put the optional test dependencies behind an additional USE flag? |
42 |
>> |
43 |
>> -- |
44 |
>> Best regards, |
45 |
>> Michał Górny |
46 |
> |