1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
5
>Config File Values</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
12
HREF="book1.html"><LINK
14
TITLE="Customizing DejaGnu"
15
HREF="c848.html"><LINK
17
TITLE="Remote Host Testing"
18
HREF="x953.html"><LINK
20
TITLE="Extending DejaGnu"
21
HREF="c1099.html"></HEAD
32
SUMMARY="Header navigation table"
41
>DejaGnu: The GNU Testing Framework</TH
51
><<< Previous</A
57
>Customizing DejaGnu</TD
65
>Next >>></A
79
>Config File Values</H1
81
>DejaGnu uses a named array in Tcl to hold all the info for
82
each machine. In the case of a canadian cross, this means host
83
information as well as target information. The named array is
87
>, and it has two indices. The
88
following fields are part of the array.</P
96
>Command Line Option Variables</H2
98
>In the user editable second section of the <A
99
HREF="x992.html#PERSONAL"
100
>Personal Config File</A
101
> you can not only override the configuration
102
variables captured in the first section, but also specify
103
default values for all on the <B
107
command line options. Save for <TT
118
command line option has an associated Tcl variable. Use the
122
> command to specify a new default
123
value (as for the configuration variables). The following
124
table describes the correspondence between command line
125
options and variables you can set in
130
HREF="x428.html#INVOKING"
133
explanations of the command-line options.</P
142
>Table 1. Tcl Variables For Command Line Options</B
187
>display all test results if set</TD
201
>set the default baud rate to something other than
272
>directory for pre-compiled binaries</TD
286
>reboot the target if set to
290
>; do not reboot if set to
308
>directory of test subdirectories</TD
322
>a number: Tcl trace depth</TD
336
>name of tool to test; identifies init, test subdir</TD
350
>verbosity level. As option, use multiple times; as
351
variable, set a number, 0 or greater.</TD
365
>The canonical configuration string for the target.</TD
379
>The canonical configuration string for the host.</TD
393
>The canonical configuration string for the build
408
>Email the output log to the specified address.</TD
423
>Personal Config File</H2
425
>The personal config file is used to customize
429
> behaviour for each person. It's
430
typically used to set the user prefered setting for verbosity,
431
and any experimental Tcl procedures. My personal
435
> file looks like:</P
443
>Example 12. Personal Config File</B
452
CLASS="PROGRAMLISTING"
454
set RLOGIN /usr/ucb/rlogin
455
set RSH /usr/local/sbin/ssh
465
> so I see all the test
466
cases that PASS along with the ones that FAIL. I also set
470
> to the BSD version. I have
474
> installed, and when I rlogin
475
to a target board, it usually isn't supported. So I use the non
476
secure version rather than the default that's in my path. I also
484
secure shell, as rsh is mostly used to test unix
485
machines within a local network here.</P
493
SUMMARY="Footer navigation table"
506
><<< Previous</A
524
>Next >>></A
532
>Remote Host Testing</TD
546
>Extending DejaGnu</TD
b'\\ No newline at end of file'