Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2018-04-17 21:10:31
Size: 134
Editor: PaulGevers
Comment: Initial documentation
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 1: Line 1:
autopkgtest is the software that runs test suites that are defined by dep8 = Summary =
autopkgtest is the software that runs test suites that are defined by [[DEP]]8 ([[https://salsa.debian.org/ci-team/autopkgtest/raw/master/doc/README.package-tests.rst|link to current spec.]]).
Line 4: Line 5:

Autopkgtests of Debian packages are run on by the [[debci]] package on the [[https://ci.debian.net|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 =
DebianMan:autopkgtest
DebianMan:autopkgtest-virt-qemu
DebianMan:autopkgtest-build-qemu
----
CategoryDebianDevelopment

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