From 782a7a26e093c532e8ac7b226db0178f6eaeb620 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 26 Jun 2012 13:58:42 +0200 Subject: [PATCH] autopkgtest spec: document (XS-)Testsuite header --- debian/changelog | 8 ++++++++ doc/README.package-tests | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/debian/changelog b/debian/changelog index f109eb5..ada70ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +autopkgtest (2.2.1) UNRELEASED; urgency=low + + [ Stefano Zacchiroli ] + * specification: document (XS-)Testsuite source header + Closes: #679097 + + -- Stefano Zacchiroli Tue, 26 Jun 2012 13:55:31 +0200 + autopkgtest (2.2.0) unstable; urgency=low * Provide tests with ADTTMP rather than TMPDIR. 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. -- 2.30.2