1runtest(1)                  General Commands Manual                 runtest(1)
2
3
4

NAME

6       runtest - the DejaGnu test driver program
7

SYNOPSIS

9       runtest [ options ]
10

DESCRIPTION

12       DejaGnu  is  a  framework  for  running test suites on GNU tools. It is
13       written in expect, which uses Tcl (Tool command language).  runtest  is
14       the test driver program; use it to control what tests to run, and vari‐
15       ations on how to run them.
16
17       You can find a comprehensive description of DejaGnu and runtest in  The
18       DejaGnu Testing Framework or its Info version, dejagnu.info.
19

OPTIONS

21       --all  Print  all  test  output  to screen. By default, only unexpected
22              results are displayed.
23
24       --baud rate
25              Set the baud rate for a  serial  line  connection.  Some  serial
26              interface  programs  (like tip) don't use this value but instead
27              use a separate initialization file.
28
29       --connect type
30              The type of connection to use.  The choices are rlogin,  telnet,
31              rsh, kermit, tip and mondfe.
32
33       --debug
34              Turn  on  expect internal debugging output. All output is logged
35              to a file called dbg.out.  The output of the --strace also  goes
36              into this file.
37
38       --help Prints out a help screen and then exits.
39
40       --host type
41              The configuration string for the host.
42
43       --ignore test1.exp test2.exp ...
44              Do not run the specified tests.
45
46       --mail ´name1 name2 ...´
47              Electronic mail addresses to receive test results.
48
49       --name hostname
50              The network hostname of the target board.
51
52       --objdir path
53              path is a directory containing compiled test code.
54
55       --outdir directory
56              The name of a directory for test log output.
57
58       --reboot
59              Reboot the target board when runtest initializes (if supported).
60
61       --srcdir path
62              path is a directory containing test directories.
63
64       --strace N
65              Turns on expect internal tracing to N levels deep.
66
67       --target type
68              The configuration string for the target.
69
70       --tool toolname
71              Specify the tool to be tested.  toolname controls the test suite
72              applied, and the associated initialization module.
73
74       --verbose, -v
75              Turns on more debugging output from test cases and DejaGnu util‐
76              ity code.  Use more than once to increase output further.
77
78       --version, -V
79              Prints out the versions of DejaGnu, expect and Tcl.
80
81       -D[number]
82              Activate  the Tcl debugger.number can be either 1 or 0. If it is
83              1, then the expect shell will break when it starts to  run.  All
84              ^C's  drop  DejaGnu  back  to  the  debugger  prompt. A 0 starts
85              DejaGnu like normal, but a ^C drops to the debugger prompt.
86
87       Any file name on the command line is assumed to be a subset
88       of the test names to run.  Usually these are the names  of  the  expect
89       test driver, ie... special.exp.
90
91       Makefile  style  variables  are  used  to  specify tool names and their
92       flags; these and other configuration dependent values are saved in  the
93       file site.exp, created during configuration.
94

EXIT CODES

96       runtest  sets the exit code to 1 if any of the tests failed, or sets it
97       to 0 if all the tests passed.
98

SEE ALSO

100       The DejaGnu Testing Framework (dejagnu.info).  This is the DejaGnu man‐
101       ual; its source is the SGML files doc/*.sgml.  in the DejaGnu distribu‐
102       tion.
103

AUTHOR

105       Rob Savoye (rob@welcomehome.org)
106
107
108
109                                  29 Jul 2003                       runtest(1)
Impressum