Ubuntu Packaging Guide

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Russian guidelines.
110 of 786 results
1.
autopkgtest: Automatic testing for packages
autopkgtest: Автоматическое тестирование пакетов
Translated and reviewed by Dmitry Shachnev on 2012-12-13
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:3
2.
The `DEP 8 specification`_ defines how automatic testing can very easily be integrated into packages. To integrate a test into a package, all you need to do is:
Документ `DEP 8 specification`_ определяет способ лёгкой интеграции автоматического тестирования в пакеты. Всё, что необходимо сделать для добавления теста к пакету, это:
Translated and reviewed by Dmitry Shachnev on 2012-12-13
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:5
3.
add the following to the Source section in ``debian/control``::
добавить следующую строчку к разделу Source в ``debian/control``::
Translated and reviewed by Dmitry Shachnev on 2012-12-13
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:9
4.
add a file called ``debian/tests/control`` which specifies the requirements for the testbed,
добавить файл ``debian/tests/control``, который определяет требования к тестовому окружению,
Translated and reviewed by Dmitry Shachnev on 2012-12-13
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:13
5.
add the tests in ``debian/tests/``.
добавить тесты в ``debian/tests``.
Translated and reviewed by Dmitry Shachnev on 2012-12-13
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:15
6.
Testbed requirements
Требования к тестовому окружению
Translated and reviewed by Dmitry Shachnev on 2012-12-23
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:19
7.
In ``debian/tests/control`` you specify what to expect from the testbed. So for example you list all the required packages for the tests, if the testbed gets broken during the build or if ``root`` permissions are required. The `DEP 8 specification`_ lists all available options.
В файле ``debian/tests/control`` вы можете указать требования к тестовому окружению. Например, можно задать список необходимых для тестирования пакетов, указать, требуется ли восстановление окружения после тестов, и нужны ли привилегии ``root``. Все доступные опции указаны в `DEP 8 specification`_.
Translated and reviewed by Dmitry Shachnev on 2012-12-23
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:21
8.
Below we are having a look at the ``glib2.0`` source package. In a very simple case the file would look like this::
Сейчас мы рассмотрим пакет исходного кода ``glib2.0``. В очень простом случае он будет выглядеть так::
Translated and reviewed by Dmitry Shachnev on 2012-12-23
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:26
9.
For the test in ``debian/tests/build`` this would ensure that the packages ``libglib2.0-dev`` and ``build-essential`` are installed.
Это будет означать, что для теста ``debian/tests/build`` требуются пакеты ``libglib2.0-dev`` и ``build-essential``.
Translated and reviewed by Dmitry Shachnev on 2012-12-23
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:32
10.
You can use ``@`` in the ``Depends`` line to indicate that you want all the packages installed which are built by the source package in question.
В поле ``Depends`` можно указать ``@``, если вы хотите установки всех бинарных пакетов, собранных из рассматриваемого пакета исходного кода.
Translated and reviewed by Dmitry Shachnev on 2012-12-23
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:35
110 of 786 results

This translation is managed by Russian Ubuntu Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Aleksey Kabanov, Beatrix Kiddo, CSRedRat, Daniel Holbach, Daniil Bubnov, Dmitry Shachnev, Galyautdinov Timur, Patsev Anton, Vladimir Doroshenko.