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

[lintian] 01/02: Remove recommendations to add a "Testsuite: autopkgtest" field to debian/control as it is added when needed by dpkg-source(1) since dpkg 1.17.1. (Closes: #865531)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit ce7942a08681a6e67a1a8449effa61fe612e3769
Author: Chris Lamb <lamby@debian.org>
Date:   Sat Jul 29 21:46:47 2017 +0100

    Remove recommendations to add a "Testsuite: autopkgtest" field to debian/control as it is added when needed by dpkg-source(1) since dpkg 1.17.1. (Closes: #865531)
---
 checks/testsuite.desc | 11 ++---------
 debian/changelog      |  4 ++++
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/checks/testsuite.desc b/checks/testsuite.desc
index febc250..189378d 100644
--- a/checks/testsuite.desc
+++ b/checks/testsuite.desc
@@ -37,10 +37,6 @@ Certainty: certain
 Info: The package provides a debian/tests/control file but no
  Testsuite field in the dsc file, or the field exists but not the
  file.
- .
- For discoverability, packages shipping tests for the autopkgtest
- testing framework should declare their presence in the package
- dsc file by adding "Testsuite: autopkgtest" to their debian/control.
 Ref: https://anonscm.debian.org/git/autopkgtest/autopkgtest.git/tree/doc/README.package-tests.rst
 
 Tag: missing-runtime-tests-field
@@ -138,11 +134,8 @@ Info: This package does not declare a test suite. Having a test suite helps with
  any of the package dependencies has a new version and check whether that
  update caused problems for your package.
  .
- To declare a test suite in your package, you need to add a `Testsuite` field to
- the source part of debian/control. This field will usually have a value of
- `autopkgtest`, i.e.:
- .
-	Testsuite: autopkgtest
+ To declare a test suite, please add a <tt>debian/tests/control</tt> file to
+ your package.
  .
  For more information on how to add functional tests to your package, browse to
  https://ci.debian.net/doc/.
diff --git a/debian/changelog b/debian/changelog
index 60ed371..a2675a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,10 @@ lintian (2.5.53) UNRELEASED; urgency=medium
     + [CL] Correct false positives in
       unconditional-use-of-dpkg-statoverride by detecting "if !" as a
       valid shell prefix.  (Closes: #869587)
+  * checks/testsuite.desc:
+    + [CL] Remove recommendations to add a "Testsuite: autopkgtest" field
+      to debian/control as it is added when needed by dpkg-source(1)
+      since dpkg 1.17.1.  (Closes: #865531)
 
   * commands/lintian.pm:
     + [CL] Apply patch from Maia Everett to avoid British spelling when

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: