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

Bug#870915: debian-policy: [5.6.30] Testsuite: There are much more defined values



control: tag -1 +patch

Hello Ondřej,

On Sun, Aug 06, 2017 at 03:07:24PM +0200, Ondřej Nový wrote:
> In 5.6.30. Testsuite
> ...
> Currently, the only defined value is autopkgtest.
> 
> Which is not true, because we have autodep8. Look to:
> https://anonscm.debian.org/git/lintian/lintian.git/tree/checks/testsuite.pm#n60

Thanks.  Seeking seconds for the patch below.

> And if you want to use autodep8, you need to explicitly add this to
> d/control.

Actually, this depends on which autodep8 module you want to use.  I know
that my elpa module runs the tests even if the Testsuite: field is
missing, for example.

diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
index 61f2b23..2bc7a07 100644
--- a/policy/ch-controlfields.rst
+++ b/policy/ch-controlfields.rst
@@ -1009,12 +1009,12 @@ reference whose name matches ``refs/dgit/*``. See the manual page of
 
 Simple field containing a comma-separated list of values allowing test
 execution environments to discover packages which provide tests.
-Currently, the only defined value is ``autopkgtest``.
 
-This field is automatically added to Debian source control files by
-``dpkg`` when a ``debian/tests/control`` file is present in the source
-package. This field may also be used in source package control files if
-needed in other situations.
+This field is automatically added to Debian binary control files by
+``dpkg``, with the value ``autopkgtest``, when a
+``debian/tests/control`` file is present in the source package. This
+field may also be used in source package control files if needed in
+other situations.
 
 .. _s5.7:

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: