runtest - DejaGnu test driver
DejaGnu is a framework for testing programs using Expect. runtest is the driver program
for DejaGnu. It controls what tests to run and how to run them.
--all Output all test results. By default, only unexpected results are displayed.
Turn on expect internal debugging output. The output is logged to a file called
The configuration TRIPLET for the build system.
Run only tests in the specified DIRECTORY.
--help Prints out a help screen and then exits.
The configuration TRIPLET for the host system.
The host board defintion to use.
--ignore test1.exp test2.exp ...
Do not run the specified tests.
--mail 'name1 name2 ...'
Electronic mail addresses to receive test results.
The network HOSTNAME of the target board.
PATH is a directory containing compiled test code.
The name of a DIRECTORY for test log output.
Reboot the target board when runtest initializes (if supported).
PATH is a directory containing test directories.
Set the exit status to fail on Tcl errors.
Turns on expect internal tracing to N levels deep. The output is logged to a file
The configuration TRIPLET for the target.
A list of target board NAMEs to run tests on.
Specify the tool to be tested. TOOLNAME controls the test suite applied, and the
associated initialization module.
Specify the PATH to the executable to test.
Additional OPTIONS to pass to the tool.
Turns on more debugging output from test cases and DejaGnu utility code. Use more
than once to increase output further.
Prints out the versions of DejaGnu, Expect and Tcl.
Generate XML output.
Activate the Tcl debugger. number can be either 1 or 0. If it is 1, then the
expect shell will break when it starts to run. The interrupt key will cause DejaGnu
to drop to the debugger prompt. If it is 0, DejaGnu starts as usual, but a ^C drops
to the debugger prompt.
Any file name on the command line is assumed to be a subset of the
test names to run. Usually these are the names of the test scripts (eg. foo.exp).
Makefile-style variables are used to specify tool names and their flags; these and other
configuration dependent values are saved in the file site.exp, created during configura-
runtest sets the exit code to 1 if any of the tests failed, or sets it to 0 if all the
Rob Savoye (email@example.com)
Report bugs to <firstname.lastname@example.org>.
Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU Gen-
eral Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
extent permitted by law.
The full documentation for DejaGnu is maintained as a Docbook manual. If the info program
is properly installed at your site, the command
should give you access to the complete manual.