[buildd-tools-devel] Bug#824935: sbuild: better support for running autopkgtests
Sean Whitton
spwhitton at spwhitton.name
Sat May 21 14:11:03 UTC 2016
Package: sbuild
Version: 0.69.0-2
Severity: wishlist
Dear maintainer,
It is possible to run autopkgtests by invoking adt-run as an sbuild
post-build-command, as described on the wiki.[1] However, it would be
better if sbuild could be configured to invoke adt-run as an independent
stage of the build, like the stages for lintian and piuparts. This
would have the following advantages:
1. If the test suite fails, this would be reported in the final output
as "autopkgtest: fail". At present a failure in the test suite
counts as a failure for the whole build since a failure in a
post-build-command is considered to be a failure of the build.
2. adt-run dies with exit code 8 if a package does not have any DEP-8
tests defined. In a post-build command this counts as a failure, but
for sbuild's purposes it should not count as a failure of the build
that a package doesn't have any tests. This can be worked around
using wrapper scripts etc. in the post-build-command, but the user
shouldn't have to worry about this.
3. There could be built-in support for autodep8, if needed (maybe
adt-run handles this; I'm not sure).
Thanks.
[1] https://wiki.debian.org/sbuild#Using_autopkgtest
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sbuild depends on:
ii adduser 3.114
ii apt-utils 1.2.11
ii libsbuild-perl 0.69.0-2
ii perl 5.22.2-1
Versions of packages sbuild recommends:
ii debootstrap 1.0.81
ii fakeroot 1.20.2-1
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.17.1-1+b1
-- no debconf information
--
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160521/203ae8cd/attachment.sig>
More information about the Buildd-tools-devel
mailing list