aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2017-08-15 06:06:16 +1000
committerBen Elliston <bje@gnu.org>2017-08-15 06:06:16 +1000
commit3073ac1d0b87b8e42f2b7eb427239d1053597f0b (patch)
tree97eb3c5aaf2b6250597afd1914fbb1af2ef1c475 /doc
parentb8108df20a24e9a0dc5306ee2deac9e6c68c966e (diff)
Fix bug reported by Andrey ``Bass'' Shcheglov.
* lib/framework.exp (open_logs): Set .xml filename correctly. * runtest.exp: Remove xml_file_name var. (usage): Update --xml option to not take an argument. (load_tool_init): Likewise. * doc/dejagnu.texi (Invoking runtest): Update documentation. * doc/runtest.1: Likewise.
Diffstat (limited to 'doc')
-rw-r--r--doc/dejagnu.texi6
-rw-r--r--doc/runtest.16
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi
index 4d6892c..5231593 100644
--- a/doc/dejagnu.texi
+++ b/doc/dejagnu.texi
@@ -662,9 +662,9 @@ file, but not in the summary (@file{*.sum}) log file.
@item @code{-V}, @code{--version}
Prints out the version numbers of DejaGnu, Expect, and Tcl.
-@item @code{-x}, @code{--xml=FILE}
-Generate XML output. FILE is optional; if given it is the name of the
-output file. If not given, the output file is named after the tool.
+@item @code{-x}, @code{--xml}
+Generate XML output. The output file is named after the tool with an
+.xml extension.
@item @file{testfile}.exp[=arg(s)]
Specify the names of testsuites to run. By default, @emph{runtest} runs
diff --git a/doc/runtest.1 b/doc/runtest.1
index 95c9024..51cdccc 100644
--- a/doc/runtest.1
+++ b/doc/runtest.1
@@ -92,9 +92,9 @@ Use more than once to increase output further.
.B -V,\ --version
Prints out the versions of DejaGnu, Expect and Tcl.
.TP
-.B -x,\ --xml[=FILE]
-Generate XML output. \fBFILE\fR is optional; if given it is the name of
-the output file. If not given, the output file is named after the tool.
+.B -x,\ --xml
+Generate XML output. The output file is named after the tool with
+an .xml extension.
.TP
.B -D[number]
Activate the Tcl debugger. \fBnumber\fR can be either 1 or 0. If it