Bug#758124: Documenting the Testsuite field in the Policy.
- To: 758124@bugs.debian.org
- Cc: Antonio Terceiro <terceiro@debian.org>
- Subject: Bug#758124: Documenting the Testsuite field in the Policy.
- From: Guillem Jover <guillem@debian.org>
- Date: Wed, 2 Aug 2017 00:54:15 +0200
- Message-id: <[🔎] 20170801225415.3e3l7m7hid6v4jdk@gaara.hadrons.org>
- Reply-to: Guillem Jover <guillem@debian.org>, 758124@bugs.debian.org
- In-reply-to: <20140820124445.GA23307@debian.org>
- References: <20140708010614.GA31859@gaara.hadrons.org> <20140708142257.GF9984@debian.org> <20140814110506.GA11945@gaara.hadrons.org> <20140814123650.GA22807@falafel.plessy.net> <20140818224419.GA7618@aqwa.igloo> <20140819134826.GA25689@an3as.eu> <20140819213439.GA13488@falafel.plessy.net> <20140819223522.GA14313@debian.org> <20140820113832.GO15095@an3as.eu> <20140820124445.GA23307@debian.org>
Hi!
On Wed, 2014-08-20 at 09:44:45 -0300, Antonio Terceiro wrote:
> There are cases when you want to add it explicitly, e.g. when someone
> comes up with a new possible value for it that is not automatically
> added yet.
>
> Testsuite: mynewthing
>
> or even
>
> Testsuite: autopkgtest, mynewthing
>
> So maybe we could review the text like this:
>
> <heading><tt>Testsuite</tt></heading>
>
> <p>
> 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 <tt>autopkgtest</tt>.
> </p>
>
> <p>
> <prgn>dpkg-source</prgn><footnote>from <prgn>dpkg-dev</prgn> version
> 1.17.11.</footnote> will automatically add this field to Debian source
> control files with the value <tt>autopkgtest</tt> if a
> <file>debian/tests/control</file> file is present in the source
> package. This field may also be used in source package control files
> if needed in other situations, for example to declare other test suite
> handlers that are not yet automatically detected by dpkg.
> </p>
Except for the last dpkg which should probably be dpkg-source, I do
like this version better.
Also perhaps worth mentioning that dpkg-source will remove the value
if there is no debian/tests/control file (and emit a warning).
I've also noticed that dsc(5) specifies this field as space-separated
in contradiction to the current implementations, which I'll be fixing
for dpkg 1.19.0.
Thanks,
Guillem
Reply to: