Next: User configuration file, Up: Config file values
In the user editable second section of the User configuration 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.
Option | Tcl variable | Description |
-a, –all | all_flag | display all test results if set |
–build | build_triplet | system triplet for the build host |
–dir | cmdline_dir_to_run | run only tests in the specified directory |
–host | host_triplet | system triplet for the host |
–host_board | host_board | host board definition to use |
–ignore | ignoretests | do not run the specified tests |
–log_dialog | log_dialog | emit Expect output to standard output |
–outdir | outdir | directory for .sum and .log files |
–objdir | objdir | directory for pre-compiled binaries |
–reboot | reboot | reboot the target if set to 1 |
–srcdir | srcdir | directory of test subdirectories |
–target | target_triplet | system triplet for the target |
–target_board | target_list | list of target boards to run tests on |
–tool | tool | name of tool to test (identifies init, test subdirectory) |
–tool_exec | TOOL_EXECUTABLE | path to the executable to test |
–tool_opts | TOOL_OPTIONS | additional options to pass to the tool |
–tool_root_dir | tool_root_dir | tool root directory |
-v, –verbose | verbose | verbosity level greater than or equal to 0 |