diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/debconf7/pbuilder.tex | 3 | ||||
-rw-r--r-- | Documentation/pbuilder-doc.xml | 25 |
2 files changed, 26 insertions, 2 deletions
diff --git a/Documentation/debconf7/pbuilder.tex b/Documentation/debconf7/pbuilder.tex index f4662e2..a9e86a5 100644 --- a/Documentation/debconf7/pbuilder.tex +++ b/Documentation/debconf7/pbuilder.tex @@ -178,6 +178,9 @@ used in conjunction with tools like debdiff. \url{/usr/share/doc/pbuilder/pbuilder-doc.html}: pbuilder manual \item cowdancer package \item piuparts package + \item autodebtest: Ubuntu automatic testing system + \item schroot / dchroot + \item buildd \end{itemize} \end{document} diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml index f9acc94..3a574ae 100644 --- a/Documentation/pbuilder-doc.xml +++ b/Documentation/pbuilder-doc.xml @@ -438,9 +438,30 @@ <para>Automatic debian-test of the package? The debian-test package has been removed from Debian. A <command>pbuilder</command> implementation can be found as - debian/pbuilder-test directory, implemented through B92pkg-test script.</para> + debian/pbuilder-test directory, implemented through B92test-pkg script.</para> </listitem> - </itemizedlist> + </itemizedlist> + <para> + To use B92test-pkg script, first, add it to your hook directory. + <footnote> + <para>It is possible to specify <command>--hookdir + /usr/share/doc/pbuilder/examples</command> command-line + option to include all example hooks as + well.</para></footnote>. + The test files are shell scripts + placed in + <filename>debian/pbuilder-test/NN_name</filename> (where + NN is number) following run-parts standard<footnote> + <para> See run-parts(8). For example, no '.' in file + names! + </para> + </footnote> + for file names. After a successful build, packages are first + tested for installation and removal, and then each test is ran + inside the chroot. The current directory is the top directory + of the source-code. This means you can expect to be able to + use ./debian/ directory from inside your scripts. + </para> </sect1> <sect1 id="altcompiler"> <title>Using pbuilder for testing builds with alternate compilers</title> |