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

Bug#788667: lintian: suggest adding DEP-8 tests when an automake installcheck-local target is detected



Hello Paul,

Paul Wise [2016-05-07 14:45 +0800]:
> AFAIK, autodep8 doesn't automatically run or turn on tests, the
> maintainer has to look at the output and make it suitable.

Strictly speaking, autodep8 only generates the contents of a
debian/tests/control file to stdout indeed.

But both ci.debian.net and autopkgtest.ubuntu.com *do* run autodep8 in
production; in fact, adt-run invokes autodep8 by itself if the tested
package does not have a d/t/control. So we *do* run the autogenerated
tests in production, and have done so for a long time for perl, ruby,
dkms, etc.

> Are you suggesting the suggestion to setup a DEP-8 test for packages
> that have installcheck-local in Makefile.am files be done in lintian
> instead of in autodep8?

No, lintian should (and can't) certainly not modify your package
source. I think the original request here was to merely print out a
suggestion to add an autopkgtest based on installcheck-local.

Have a nice weekend,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: PGP signature


Reply to: