|
16.
|
|
|
The `README.running-tests <running_tests_local_>`_ (`online version <DEP8_>`_) documentation explains all available testbeds (schroot, LXD, QEMU, etc.) and the most common scenarios how to run your tests with ``autopkgtest``, e. g. with locally built binaries, locally modified tests, etc.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:91
|
|
17.
|
|
|
The Ubuntu CI system uses the QEMU runner and runs the tests from the packages in the archive, with ``-proposed`` enabled. To reproduce the exact same environment, first install the necessary packages::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:97
|
|
18.
|
|
|
Now build a testbed with::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:103
|
|
19.
|
|
|
(Please see its manpage and ``--help`` output for selecting different releases, architectures, output directory, or using proxies). This will build e. g. ``adt-trusty-amd64-cloud.img``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:107
|
|
20.
|
|
|
Then run the tests of a source package like ``libpng`` in that QEMU image::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:111
|
|
21.
|
|
|
The Ubuntu CI system runs packages with only selected packages from ``-proposed`` available (the package which caused the test to be run); to enable that, run::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:115
|
|
22.
|
|
|
or to run with all packages from ``-proposed``::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:121
|
|
23.
|
|
|
The ``autopkgtest`` manpage has a lot more valuable information on other testing options.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:125
|
|
24.
|
|
|
Further examples
|
|
|
|
Meer voorbeelden
|
|
Translated and reviewed by
Hannie Dumoleyn
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:130
|
|
25.
|
|
|
This list is not comprehensive, but might help you get a better idea of how automated tests are implemented and used in Ubuntu.
|
|
|
|
Deze lijst is niet volledig, maar kan u helpen meer inzicht te krijgen in hoe automatische testen worden uitgevoerd en gebruikt in Ubuntu.
|
|
Translated and reviewed by
Hannie Dumoleyn
|
|
|
|
Located in
../ubuntu-packaging-guide/auto-pkg-test.rst:132
|