In the user editable second section of the Personal Config File you can not only override the configuration variables captured in the first section, but also specify default values for all on the runtest command line options. Save for --debug, --help, and --version, each command line option has an associated Tcl variable. Use the Tcl set command to specify a new default value (as for the configuration variables). The following table describes the correspondence between command line options and variables you can set in site.exp. Invoking Runtest, for explanations of the command-line options.
Table 3-1. Tcl Variables For Command Line Options
runtest | Tcl | option | variable | description |
---|---|---|---|---|
--all | all_flag | display all test results if set | ||
--baud | baud | set the default baud rate to something other than 9600. | ||
--connect | connectmode | rlogin, telnet, rsh, kermit, tip, or mondfe | ||
--outdir | outdir | directory for tool.sum and tool.log. | ||
--objdir | objdir | directory for pre-compiled binaries | ||
--reboot | reboot | reboot the target if set to "1"; do not reboot if set to "0" (the default). | ||
--srcdir | srcdir | directory of test subdirectories | ||
--strace | tracelevel | a number: Tcl trace depth | ||
--tool | tool | name of tool to test; identifies init, test subdir | ||
--verbose | verbose | verbosity level. As option, use multiple times; as variable, set a number, 0 or greater. | ||
--target | target_triplet | The canonical configuration string for the target. | ||
--host | host_triplet | The canonical configuration string for the host. | ||
--build | build_triplet | The canonical configuration string for the build host. |