4 >Config File Values
</TITLE
7 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.44"><LINK
10 HREF=
"book1.html"><LINK
12 TITLE=
"Customizing DejaGnu"
13 HREF=
"customizing.html"><LINK
15 TITLE=
"Remote Host Testing"
16 HREF=
"releng.html"><LINK
18 TITLE=
"Extending DejaGnu"
19 HREF=
"extending.html"></HEAD
32 >DejaGnu: The GNU Testing Framework
</TH
47 >Chapter
3. Customizing DejaGnu
</TD
67 >Config File Values
</A
70 >DejaGnu uses a named array in Tcl to hold all the info for
71 each machine. In the case of a canadian cross, this means host
72 information as well as target information. The named array is
76 >, and it has two indices. The
77 following fields are part of the array.
</P
84 >Command Line Option Variables
</A
87 >In the user editable second section of the
<A
88 HREF=
"configfile.html#PERSONAL"
90 >Personal Config File
</I
92 > you can not only override the configuration
93 variables captured in the first section, but also specify
94 default values for all on the
<B
98 command line options. Save for
<TT
109 command line option has an associated Tcl variable. Use the
113 > command to specify a new default
114 value (as for the configuration variables). The following
115 table describes the correspondence between command line
116 options and variables you can set in
121 HREF=
"runtest.html#INVOKING"
126 explanations of the command-line options.
</P
132 >Table
3-
1. Tcl Variables For Command Line Options
</B
171 >display all test results if set
</TD
185 >set the default baud rate to something other than
256 >directory for pre-compiled binaries
</TD
270 >reboot the target if set to
274 >; do not reboot if set to
292 >directory of test subdirectories
</TD
306 >a number: Tcl trace depth
</TD
320 >name of tool to test; identifies init, test subdir
</TD
334 >verbosity level. As option, use multiple times; as
335 variable, set a number,
0 or greater.
</TD
349 >The canonical configuration string for the target.
</TD
363 >The canonical configuration string for the host.
</TD
377 >The canonical configuration string for the build
392 >Email the output log to the specified address.
</TD
405 >Personal Config File
</A
408 >The personal config file is used to customize
412 > behaviour for each person. It's
413 typically used to set the user prefered setting for verbosity,
414 and any experimental Tcl procedures. My personal
418 > file looks like:
</P
423 >Example
3-
12. Personal Config File
</B
432 CLASS=
"PROGRAMLISTING"
434 set RLOGIN /usr/ucb/rlogin
435 set RSH /usr/local/sbin/ssh
445 > so I see all the test
446 cases that PASS along with the ones that FAIL. I also set
450 > to the BSD version. I have
454 > installed, and when I rlogin
455 to a target board, it usually isn't supported. So I use the non
456 secure version rather than the default that's in my path. I also
464 secure shell, as rsh is mostly used to test unix
465 machines within a local network here.
</P
499 HREF=
"extending.html"
508 >Remote Host Testing
</TD
514 HREF=
"customizing.html"
521 >Extending DejaGnu
</TD