[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



On Fri, 2016-05-06 at 18:07 -0500, Martin Pitt wrote:

> In principle autodep8 could grow an automatic test for this, such as
...
> However, this has some caveats:
...
> Thus, while possible, this would have the maximum inefficiency.  Doing
> this on a per-package basis means knowing what the installcheck will
> actually do and then the restrictions can become much softer and also
> the test dependencies can be adjusted.

AFAIK, autodep8 doesn't automatically run or turn on tests, the
maintainer has to look at the output and make it suitable. Presumably
the maintainer could customise any auto-generated installcheck-local
setup from autodep8 such that it is suitable for the package.

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?

> This of course should also get tried for the packages which have
> installcheck-local to see what else breaks, before we enable this in
> production.

That would be appropriate for any situation where installcheck-local
were to be run automatically without a maintainer checking the target.
I don't think we were talking about that though, just about auto-asking
maintainers to add a test for the installcheck-local target if present.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: