[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnupg2 autopkgtest uses multi-arch which seems fragile



Hi Ian,

Thanks for helping out.

On 09-07-18 15:02, Ian Jackson wrote:
> Ian Jackson writes ("Re: gnupg2 autopkgtest uses multi-arch which seems fragile"):
>> I looked in:
>>
>> * debian/tests/control in the gnupg2 source tree.
>>   One test, of gpgv-win32.  Depends on gpgv-win32, gnupg2,
> 
> I have found it:
> 
> debian/tests/gpgv-win32 manually installs wine32 using apt.

I noticed my original e-mail wasn't very clear because I thought the
above was obvious.

> This seems quite wrong.  If a package needs to be installed, it should
> be handled via Depends in debian/tests/control.  Otherwise all of the
> machinery to select which packages are being tested is utterly
> defeated.

Some packages have the purpose of installing stuff, so they may want to
do so I guess (e.g. apt does that). So I nearly agree with your
argument, but not fully. But as an example of your argument we already
have bug #900470 where syslog-ng tries to upgrade upgrade itself but
fails to do so due to our setup. The argument should be that in
autopkgtests the setup may be weird and tests should not need to know. I
guess what gnupg2 wants/needs is a way to either declare multi-arch
(maybe a new restriction?) with semantics to declare the dependencies
there or maybe they would be happy with an i386 test only, but ci.d.n
doesn't have that yet.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: