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

Bug#865531: lintian: testsuite-autopkgtest-missing checks the wrong thing



Hi,

On Thu, 06 Jul 2017, Niels Thykier wrote:
> On Thu, 22 Jun 2017 14:45:52 +0200 =?utf-8?q?Rapha=C3=ABl_Hertzog?=
> <hertzog@debian.org> wrote:
> > Package: lintian
> > Version: 2.5.51
> > Severity: normal
> > 
> > lintian complains with testsuite-autopkgtest-missing when debian/control
> > is missing the "Testsuite" field but that field is usually not present
> > in the unpacked source package because it is automatically added by
> > dpkg-source to the .dsc when it finds debian/tests/control.
> 
> Please provide a test case for this.

I did not verify this, I just assumed this based on the long description
of the tag.

> > So instead you should check that field in the .dsc or directly
> > debian/tests/control in the unpacked source package.
> 
> The code currently checks for the field in the .dsc file.

So then it's only a documentation issue and not a real problem.

> > BTW the long description must also be updated as it instructs the user
> > to add this field in debian/control when it's not needed.
> 
> That is true though.

Feel free to correct only this and close this bug. And word the long
description in a way that makes it clear that the test checks the field
in the .dsc file.

Thank you!
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/


Reply to: