1 .TH runtest 1 "29 Jul 2003"
3 runtest \- the DejaGnu test driver program
9 is a framework for running test suites on GNU tools. It is written in
10 expect, which uses Tcl (Tool command language).
12 is the test driver program; use it to control what tests to run,
13 and variations on how to run them.
15 You can find a comprehensive description of DejaGnu and \fBruntest\fR in
17 The DejaGnu Testing Framework
23 Print all test output to screen. By default, only unexpected results are
27 Set the baud rate for a serial line connection. Some serial interface
28 programs (like \fBtip\fR) don't use this value but instead use a separate
32 The type of connection to use. The choices are
44 internal debugging output. All output is logged to
45 a file called \fBdbg.out\fR.
46 The output of the \fB--strace\fR also goes into this file.
49 Prints out a help screen and then exits.
52 The configuration string for the host.
54 .BI --ignore \ test1.exp\ test2.exp\ ...
55 Do not run the specified tests.
57 .BI --mail \ \'name1\ name2\ ...\'
58 Electronic mail addresses to receive test results.
61 The network hostname of the target board.
64 \fIpath\fR is a directory containing compiled test code.
66 .BI --outdir \ directory
67 The name of a directory for test log output.
70 Reboot the target board when \fBruntest\fR initializes
74 \fIpath\fR is a directory containing test directories.
79 internal tracing to \fIN\fR levels deep.
82 The configuration string for the target.
85 Specify the tool to be tested. \fItoolname\fR controls the test suite
86 applied, and the associated initialization module.
89 Turns on more debugging output from test cases and DejaGnu utility code.
90 Use more than once to increase output further.
93 Prints out the versions of DejaGnu, expect and Tcl.
96 Activate the Tcl debugger.\fBnumber\fR can be either 1 or 0. If it is
97 1, then the expect shell will break when it starts to run. All ^C's
98 drop DejaGnu back to the debugger prompt. A 0 starts DejaGnu like
99 normal, but a ^C drops to the debugger prompt.
101 Any file name on the command line is assumed to be a subset
102 of the test names to run. Usually these are the names of the
103 expect test driver, ie... special.exp.
105 Makefile style variables are used to specify tool names and their
106 flags; these and other configuration dependent values are saved in the
107 file \fBsite.exp\fR, created during configuration.
110 sets the exit code to 1 if any of the tests failed, or
111 sets it to 0 if all the tests passed.
113 .I The DejaGnu Testing Framework
114 .RB ( dejagnu.info ).
115 This is the DejaGnu manual; its source is the SGML files
118 in the DejaGnu distribution.
120 Rob Savoye (rob@welcomehome.org)