aboutsummaryrefslogtreecommitdiff
path: root/Documentation/pbuilder-doc.xml
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-10 09:34:43 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-10 09:34:43 +0900
commit93ca7f6ad245bd41f2efd16bd37b397d54222194 (patch)
treee8ea8c69abd522d98684dea8f7a384dcdb13a373 /Documentation/pbuilder-doc.xml
parentd3a4f7830e36e94e9027b34bb2970ca605922dd2 (diff)
downloadpbuilder-93ca7f6ad245bd41f2efd16bd37b397d54222194.tar
pbuilder-93ca7f6ad245bd41f2efd16bd37b397d54222194.tar.gz
document more about pbuilder-test, and add references to debconf text
Diffstat (limited to 'Documentation/pbuilder-doc.xml')
-rw-r--r--Documentation/pbuilder-doc.xml25
1 files changed, 23 insertions, 2 deletions
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>