diff options
author | Jacob Bachmeyer <jcb62281@gmail.com> | 2018-12-02 12:13:41 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2018-12-02 12:13:41 +1100 |
commit | e846a14797a48d733cdd3adee6b8d021a60c54f3 (patch) | |
tree | 84c4ffbc332d53ddc6390094119e0096e070852b /doc/runtest.1 | |
parent | 1007fbb67a6fd88a8e5dca8b62b03f2a3ade407d (diff) | |
download | dejagnu-e846a14797a48d733cdd3adee6b8d021a60c54f3.zip dejagnu-e846a14797a48d733cdd3adee6b8d021a60c54f3.tar.gz dejagnu-e846a14797a48d733cdd3adee6b8d021a60c54f3.tar.bz2 |
* doc/dejagnu.texi (Invoking runtest): Document new --local_init
and --global_init command line options.
* doc/runtest.1: Likewise.
* runtest.exp: Remove useless tests before setting default values
for variables: all_flag, binpath, debug, options, outdir, reboot,
tracelevel, verbose, log_dialog. They are set before loading any
files or parsing the command line.
* runtest.exp: Add options --local_init and --global_init for
selecting alternate testsuite configuration files.
* runtest.exp: Split variable "configfile" into "local_init_file"
and "global_init_file" in preparation for adding command-line
options to specify these independently.
* runtest.exp (load_generic_config): Remove configfile global.
(load_board_description): Likewise.
(load_base_board_description): Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'doc/runtest.1')
-rw-r--r-- | doc/runtest.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/runtest.1 b/doc/runtest.1 index 5b70d35..d043ee7 100644 --- a/doc/runtest.1 +++ b/doc/runtest.1 @@ -1,4 +1,4 @@ -.TH runtest 1 "2017-10-16" +.TH runtest 1 "2018-12-01" .SH NAME runtest \- DejaGnu test driver .SH SYNOPSIS @@ -29,6 +29,10 @@ internal debugging output. The output is logged to a file called .BI --directory \ DIRECTORY Run only tests in the specified DIRECTORY. .TP +.BI --global_init \ NAME +The NAME to use for the global init file in libdir. +The default is \fBsite.exp\fR if this option is not given. +.TP .B --help Prints a usage message and then exits. .TP @@ -41,6 +45,11 @@ The host board definition to use. .BI --ignore \ test1.exp\ test2.exp\ ... Do not run the specified tests. .TP +.BI --local_init \ NAME +The NAME to use for the testsuite local init file in both the current +directory and objdir. +The default is \fBsite.exp\fR if this option is not given. +.TP .B --log_dialog Emit Expect output to standard output. .TP @@ -125,7 +134,7 @@ Rob Savoye (rob@welcomehome.org) .SH "REPORTING BUGS" Report bugs to <bug\-dejagnu@gnu.org>. .SH COPYRIGHT -Copyright \(co 2005\-2016 Free Software Foundation, Inc. +Copyright \(co 2005\-2016, 2018 Free Software Foundation, Inc. .PP This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. |