1 .TH adt\-run 1 2006 autodebtest "Linux Programmer's Manual"
3 adt\-run \- test an installed binary package using the package's tests
9 .RI [ virt\-server\-arg ...]
13 is the program for invoking the autodebtest package testing machinery.
15 autodebtest is a facility for testing binary packages, as installed on
16 a system (such as a testbed system). The tests are those supplied in
19 adt\-run runs each test supplied by a particular package and reports
20 the results. It drives the specified virtualisation regime as
21 appropriate, and parses the test description metadata, and arranges
22 for data to be copied to and from the testbed as required.
24 adt\-run should be invoked (unless options to the contrary are
25 supplied) in the top level directory of the built source tree, on the
26 host. The package should be installed on the testbed.
30 .BR \-\-build\-tree [ \-tb ] " " \fIdirectory\fR
31 Specifies that the built source tree can be found in
33 (Default: adt\-run's current directory, on the host.)
35 .BR \-\-control [ \-tb ] " " \fIcontrol\fR
38 should be used as the test control file instead of
39 .B debian/tests/control
40 in the build tree. Note that it is not an error for this file not to
41 exist; that just means that there are no tests.
43 .BR \-d " | " \-\-debug
44 Enables debugging output. Probably not hugely interesting.
46 \fB\-\-\-\fR \fIvirt\-server virt\-server\-arg\fR...
47 Specifies the virtualisation regime server, as a command and arguments
48 to invoke. All the remaining arguments and options after
50 are passed to the virtualisation server program.
53 Some options which come in variants with and without
55 These specify paths on the testbed and the host, respectively. The
56 data will be copied by
58 to where it is needed.
61 During a normal test run, one line is printed for each test. This
62 consists of the name of the test, some horizontal whitespace, and
69 where the pass/fail indication is separated by any reason by some
70 horizontal whitespace.
74 will be reported when the name of the test is not known or not
75 applicable: for example, when there are no tests in the package, or a
76 there is a test stanza which contains features not understood by this
81 will appear where the name of the test should be.
86 2 at least one test skipped
88 4 at least one test failed
90 6 at least one test failed and at least one test skipped
92 8 no tests in this package
98 20 other unexpected failures including bad usage
101 \fBadt\-virt\-chroot\fR(1)
104 This tool still lacks many important features.
106 .SH AUTHORS AND COPYRIGHT
107 This manpage is part of autodebtest, a tool for testing Debian binary
108 packages. autodebtest is Copyright (C) 2006 Canonical Ltd and others.
110 See \fB/usr/share/doc/autodebtest/CREDTIS\fR for the list of
111 contributors and full copying conditions.