[xml/sgml-pkgs] Bug#690047: libxml2: Add simple autopkgtest to the package

Daniel Holbach daniel.holbach at ubuntu.com
Tue Oct 9 13:32:04 UTC 2012


Package: libxml2
Version: 2.8.0+dfsg1-5
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

in Ubuntu we started using autopkgtest with Jenkins to make it easier
for us to track changes and make sure they still work whenever a new
version is uploaded.

The following test does the following:
 - check that code can still be built against libxml2
 - test some very basic functionality of the package

I'm aware that Debian does not have this infrastructure set up, but you
can very easily confirm that the test works by running the following
command in the source package tree:

  sudo adt-run --no-built-binaries --built-tree=. --- adt-virt-null

*** /tmp/tmph4QnML/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/tests/build, debian/tests/control: add test to check
    that code can be easily built against libxml2, test some core
    functionality too.
  * debian/control: enable autopkgtest.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal-proposed'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-17-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxml2_2.8.0+dfsg1-5ubuntu1.debdiff
Type: text/x-diff
Size: 2065 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20121009/a7f80548/attachment.diff>


More information about the debian-xml-sgml-pkgs mailing list