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

Bug#876003: lintian: Wrong description of tag unknown-testsuite



* Chris Lamb <lamby@debian.org> [2017-09-17 10:32]:

but autopkgtest is not the only value allowed.

Hm, are you sure? Note that this is referring to the *source* package's .dsc file; which is, I believe, almost entirely separate from the value in debian/control.

Note that the linked "Ref" link:

 https://anonscm.debian.org/git/autopkgtest/autopkgtest.git/tree/doc/README.package-tests.rst

… says:

 To allow test execution environments to discover packages which provide
 tests, their source packages need to have a ``Testsuite:`` header
 containing ``autopkgtest`` (which is currently the only defined value).

Please, note the word "currently" in the sentence above. That part of the document (as revealed by git blame) was not changed since 2014-06-25. This predates the inclusion of autokgtest-pkg-* valid values by the autodep8 package whose development, according to git log, started on 2014-09-14.

IMHO, the description in README.package-tests.rst is wrong. BTW, I am going to file a bug report on this issue against autopkgtest.

At any rate, your explanation is incoherent with the current behavior of Lintian (v 2.5.52). With the current version of the octave-image package, the following warning is triggered:

   W: octave-image source: unknown-testsuite autopkgtest-pkg-octave

However, if the Testsuite field contained autopkgtest-pkg-go, autopkgtest-pkg-elpa, etc., then the warning would not triggered, which proves that Lintian *_does_* accept other values than just "autopkgtest".

Best,

Rafael


Reply to: