GNU bug report logs -
#11079
master: Small typos in TAP documentation
Previous Next
Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>
Date: Fri, 23 Mar 2012 22:18:02 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11079 in the body.
You can then email your comments to 11079 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#11079
; Package
automake
.
(Fri, 23 Mar 2012 22:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tim Landscheidt <tim <at> tim-landscheidt.de>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Fri, 23 Mar 2012 22:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
the attached patch fixes some small typos in the TAP docu-
mentation. The latter also contains one unfinished sen-
tence that the former marks with FIXME.
Tim
[0001-Fix-some-small-typos.patch (text/x-patch, inline)]
From dd7dcf17962f9987b0558c2c2cec6456d173b255 Mon Sep 17 00:00:00 2001
From: Tim Landscheidt <tim <at> tim-landscheidt.de>
Date: Fri, 23 Mar 2012 21:41:19 +0000
Subject: [PATCH] Fix some small typos.
* doc/automake.texi (Using the TAP test protocol): Here ...
* tests/tap-doc2.test: ... and here.
---
doc/automake.texi | 15 ++++++++-------
tests/tap-doc2.test | 2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/doc/automake.texi b/doc/automake.texi
index 3bb365b..ef65d8d 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -9588,7 +9588,7 @@ use TAP in their testsuite.
Currently, the TAP driver that comes with Automake requires some by-hand
steps on the developer's part (this situation should hopefully be improved
-in future Automake versions). You'll have grab the @file{tap-driver.sh}
+in future Automake versions). You'll have to grab the @file{tap-driver.sh}
script from the Automake distribution by hand, copy it in your source tree,
add a call to @code{AC_PROG_AWK} in @file{configure.ac} to search for a
proper awk program, and use the Automake support for third-party test
@@ -9605,12 +9605,13 @@ compatibility with the @command{prove} utility.
@c Keep in sync with 'tap-exit.test' and 'tap-signal.test'.
@item --ignore-exit
Causes the test driver to ignore the exit status of the test scripts;
-by default, the driver will report an error if the script exit with a
+by default, the driver will report an error if the script exits with a
non-zero status. This option has effect also
+@c FIXME: The sentence above has no end.
@item --comments
Instruct the test driver to display TAP diagnostic (i.e., lines beginning
with the @samp{#} character) in the testsuite progress output too; by
-default, TAP diagnostic is only copied in the @file{.log} file.
+default, TAP diagnostic is only copied to the @file{.log} file.
@item --no-comments
Revert the effects of @option{--comments}.
@item --merge
@@ -9628,7 +9629,7 @@ Revert the effects of @option{--merge}.
Change the string that introduces TAP diagnostic from the default value
of ``@code{#}'' to @code{@var{STRING}}. This can be useful if your
TAP-based test scripts produce verbose output on which they have limited
-control (because, say, the output comes by other tools invoked in the
+control (because, say, the output comes from other tools invoked in the
scripts), and it might contain text that gets spuriously interpreted as
TAP diagnostic: such an issue can be solved by redefining the string that
activates TAP diagnostic to a value you know won't appear by chance in
@@ -9678,7 +9679,7 @@ echo 'ok 3 - This will not be seen.'
#!/bin/sh
echo 1..1
echo ok 1
-# Exit with error, even if all the test case has been successful.
+# Exit with error, even if all the tests have been successful.
exit 7
% @kbd{cp @var{PREFIX}/share/automake-@var{APIVERSION}/tap-driver.pl .}
@@ -9724,13 +9725,13 @@ mainstream versions, which you should be aware of.
@itemize @bullet
@item
A @code{Bail out!} directive doesn't stop the whole testsuite, but only
-the test script it occurs into. This doesn't follows TAP specifications,
+the test script it occurs in. This doesn't follow TAP specifications,
but on the other hand it maximizes compatibility (and code sharing) with
the ``hard error'' concept of the default @option{parallel-tests} driver.
@item
The @code{version} and @code{pragma} directives are not supported.
@item
-The @option{--diagnostic-string} option of out driver allows to modify
+The @option{--diagnostic-string} option of our driver allows to modify
the string that introduces TAP diagnostic from the default value
of ``@code{#}''. The standard TAP protocol has currently no way to
allow this, so if you use it your diagnostic will be lost to more
diff --git a/tests/tap-doc2.test b/tests/tap-doc2.test
index 4946a2c..76e1ade 100755
--- a/tests/tap-doc2.test
+++ b/tests/tap-doc2.test
@@ -62,7 +62,7 @@ cat > baz.test <<'END'
#!/bin/sh
echo 1..1
echo ok 1
-# Exit with error, even if all the test case has been successful.
+# Exit with error, even if all the tests have been successful.
exit 7
END
--
1.6.2.5
Information forwarded
to
bug-automake <at> gnu.org
:
bug#11079
; Package
automake
.
(Sat, 24 Mar 2012 16:27:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11079 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
tags 11079 patch
severity 11079 minor
close 11079
thanks
On 03/23/2012 10:46 PM, Tim Landscheidt wrote:
> Hi,
>
Hi Tim, thanks for the report and the patch.
> the attached patch fixes some small typos in the TAP documentation.
>
Well spotted! I've applied the patch (with minor tweaks to the commit message).
> The latter also contains one unfinished sentence that the former marks
> with FIXME.
>
Thanks for this as well. I've fixed the issued with the attached follow-up
patch.
I'm thus closing this bug report.
Best regards,
Stefano
[0001-docs-terminate-unfinished-sentence-fix-reference-to-.patch (text/x-diff, attachment)]
Added tag(s) patch.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 24 Mar 2012 16:27:02 GMT)
Full text and
rfc822 format available.
Severity set to 'minor' from 'normal'
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 24 Mar 2012 16:27:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
11079 <at> debbugs.gnu.org and Tim Landscheidt <tim <at> tim-landscheidt.de>
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 24 Mar 2012 16:27:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 22 Apr 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.