Bug#679097: [patch] add source package header to the spec

Ian Jackson ijackson at chiark.greenend.org.uk
Tue Jun 26 11:09:45 UTC 2012

Package: autopkgtest

Stefano Zacchiroli writes ("[patch] add source package header to the spec"):
> Right (and as mentioned in the previous mail I've just de-duplicated the
> spec so that now DEP-8 points to the spec contained in the package).


> Ian: can you please consider the attached patch?

Right.  It looks fine to me.

> PS I'm incidentally a committer of the autopkgtest project on Alioth. If
>    you want me to commit it directly myself, just let me know. In that
>    case, I'll of course also add a suitable entry in the changelog.

Please go ahead if you like.  If you don't, I will do it (before the
freeze) anyway.  If you do, please close the bug which I'm opening
with this mail.


>From 5fe3ab754672330c5c3e41d25627483e07b1c0be Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <zack at upsilon.cc>
Date: Mon, 25 Jun 2012 17:57:55 +0200
Subject: [PATCH] autopkgtest spec: document (XS-)Testsuite header

 doc/README.package-tests |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/doc/README.package-tests b/doc/README.package-tests
index b83f7d0..94510c0 100644
--- a/doc/README.package-tests
+++ b/doc/README.package-tests
@@ -128,3 +128,19 @@ The defined Restrictions are:
 There are no currently defined Features.
+Source package header
+To allow test execution environments to discover packages which provide tests,
+their source packages should have a `Testsuite:` header containing
+`autopkgtest` (which is currently the only defined value). Multiple values get
+comma separated, as usual in control files.
+This tag can be set manually in debian/control by adding
+    XS-Testsuite: autopkgtest
+in the `Source:` paragraph. Future versions of dpkg-source might add this
+automatically when a debian/tests/control file is present.

application/pgp-signature [Press RETURN to save to a file]

autopkgtest-devel mailing list
autopkgtest-devel at lists.alioth.debian.org

More information about the autopkgtest-devel mailing list