Differences between revisions 4 and 5
Revision 4 as of 2019-10-06 04:22:52
Size: 1242
Editor: HarleySwick
Comment: Relevant info for autopkgtest is disparate across the wiki. This is an attempt to make it easier to find.
Revision 5 as of 2019-10-07 00:45:33
Size: 1055
Editor: PaulWise
Comment: betterise links
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Autopkgtests of Debian packages are run on by the [[debci]] package on https://ci.debian.net. Autopkgtests of Debian packages are run on by the [[debci]] package on the [[https://ci.debian.net|Debian CI service]].
Line 25: Line 25:
[[https://manpages.debian.org/testing/autopkgtest/autopkgtest.1.en.html|autopkgtest]]
[[https://manpages.debian.org/testing/autopkgtest/autopkgtest-virt-qemu.1.en.html|autopkgtest-virt-qemu]]
[[https://manpages.debian.org/testing/autopkgtest/autopkgtest-build-qemu.1.en.html|autopkgtest-build-qemu]]
DebianMan:autopkgtest
DebianMan:autopkgtest-virt-qemu
DebianMan:autopkgtest-build-qemu

Summary

autopkgtest is the software that runs test suites that are defined by DEP8 (link to current spec.).

An autopkgtest is also the name for such a test suite.

Autopkgtests of Debian packages are run on by the debci package on the Debian CI service.

Usage

It can be helpful to run tests locally to make sure everything is working. Here are the steps to do that.

First you want to get a Debian image. autopkgtest provides a utility to easily build an image.

  • autopkgtest-build-qemu unstable autopkgtest-unstable.img

This creates an image with debian unstable on it.

Now you can use this image to test your source package (gdk-pixbuf):

  • autopkgtest gdk-pixbuf -- qemu autopkgtest-unstable.img

This will run the tests located in debian/tests.

Useful Links

autopkgtest autopkgtest-virt-qemu autopkgtest-build-qemu


CategoryDebianDevelopment