diff options
author | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-05-10 09:34:43 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-05-10 09:34:43 +0900 |
commit | 93ca7f6ad245bd41f2efd16bd37b397d54222194 (patch) | |
tree | e8ea8c69abd522d98684dea8f7a384dcdb13a373 /Documentation | |
parent | d3a4f7830e36e94e9027b34bb2970ca605922dd2 (diff) | |
download | pbuilder-93ca7f6ad245bd41f2efd16bd37b397d54222194.tar pbuilder-93ca7f6ad245bd41f2efd16bd37b397d54222194.tar.gz |
document more about pbuilder-test, and add references to debconf text
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> |