1 .TH runtest 1 "2018-12-01"
3 runtest \- DejaGnu test driver
9 is a framework for testing programs using Expect.
11 is the driver program for
13 It controls what tests to run and how to run them.
17 Output all test results. By default, only unexpected results are
21 The configuration TRIPLET for the build system.
26 internal debugging output. The output is logged to a file called
29 .BI --directory \ DIRECTORY
30 Run only tests in the specified DIRECTORY.
32 .BI --global_init \ NAME
33 The NAME to use for the global init file in libdir.
34 The default is \fBsite.exp\fR if this option is not given.
37 Prints a usage message and then exits.
40 The configuration TRIPLET for the host system.
42 .BI --host_board \ NAME
43 The host board definition to use.
45 .BI --ignore \ test1.exp\ test2.exp\ ...
46 Do not run the specified tests.
48 .BI --local_init \ NAME
49 The NAME to use for the testsuite local init file in both the current
51 The default is \fBsite.exp\fR if this option is not given.
54 Emit Expect output to standard output.
56 .BI --mail \ \'name1\ name2\ ...\'
57 Electronic mail addresses to receive test results.
60 \fIPATH\fR is a directory containing compiled test code.
62 .BI --outdir \ DIRECTORY
63 The name of a DIRECTORY for test log output.
66 Reboot the target board when \fBruntest\fR initializes
70 \fIPATH\fR is a directory containing test directories.
75 internal tracing to \fIN\fR levels deep. The output is logged to a
76 file called \fBdbg.log\fR.
78 .BI --target \ TRIPLET
79 The configuration TRIPLET for the target.
81 .BI --target_board \ NAME
82 A list of target board NAMEs to run tests on.
85 Specify the tool to be tested. \fITOOLNAME\fR controls the test suite
86 applied, and the associated initialization module.
88 .BI --tool_exec \ PATH
89 Specify the PATH to the executable to test.
91 .BI --tool_opts \ OPTIONS
92 Additional OPTIONS to pass to the tool.
95 Turns on more debugging output from test cases and DejaGnu utility code.
96 Use more than once to increase output further.
99 Prints out the versions of DejaGnu, Expect and Tcl.
102 Generate XML output. The output file is named after the tool with
106 Activate the Tcl debugger. \fBnumber\fR can be either 1 or 0. If it
107 is 1, then the Expect shell will break when it starts to run. The
108 interrupt key will cause DejaGnu to drop to the debugger prompt. If it
109 is 0, DejaGnu starts as usual, but Control-C drops to the debugger
112 Any file name on the command line is assumed to be a subset of the
113 test names to run. Usually these are the names of the test scripts
116 Makefile-style variables are used to specify tool names and their
117 flags; these and other configuration dependent values are saved in the
118 file \fBsite.exp\fR, created during configuration.
122 if all tests passed including expected failures and unsupported tests,
125 if any test failed, passed unexpectedly, or was unresolved,
128 if Expect encountered any error in the test scripts.
130 Rob Savoye (rob@welcomehome.org)
132 Report bugs to <bug\-dejagnu@gnu.org>.
134 Copyright \(co 2005\-2016, 2018 Free Software Foundation, Inc.
136 This is free software. You may redistribute copies of it under the terms of
137 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
138 There is NO WARRANTY, to the extent permitted by law.
140 The full documentation for
142 is maintained as a Texinfo manual. If the
144 program is properly installed at your site, the command
148 should give you access to the complete manual.