Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.groff.bug > #1811
| From | Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org> |
|---|---|
| Newsgroups | gnu.groff.bug |
| Subject | [bug #58165] test-suite: "nroff -V ..." fails for other devices than "ascii" |
| Date | 2020-04-12 22:13 -0400 |
| Message-ID | <mailman.136.1586744013.3066.bug-groff@gnu.org> (permalink) |
| References | <20200412-203706.sv93188.8615@savannah.gnu.org> <20200412-220343.sv108747.17736@savannah.gnu.org> <20200412-221316.sv108747.84108@savannah.gnu.org> <20200413-021329.sv93188.98398@savannah.gnu.org> |
Follow-up Comment #3, bug #58165 (project groff):
Subject: test-suite: "nroff -V ..." fails for other devices than "ascii"
Sorry, I too often seem to neglect to provide relevant data.
I sometimes post findings before I test myself the matter further.
So you could wait for me providing more data when you ask for it.
1) First part of the test in the build directory:
# Ensure a predictable character encoding.
export LC_ALL=C
# Ensure a predictable command search path.
GROFF_RUNTIME="${GROFF_BIN_PATH=/usr/local/bin}:"
nroff="${abs_top_builddir:-.}/nroff"
echo "testing 'nroff -V'" >&2
expected="PATH=$GROFF_RUNTIME$PATH groff -Tascii -mtty-char"
actual=$("$nroff" -V)
diff -u <(echo "$expected") <(echo "$actual")
####
Result:
testing 'nroff -V'
--- /dev/fd/63 2020-04-13 01:11:32.936490725 +0000
+++ /dev/fd/62 2020-04-13 01:11:32.936490725 +0000
@@ -1 +1 @@
-PATH=/usr/local/bin:/home/bg/bin:/home/bg/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin
groff -Tascii -mtty-char
+PATH=/usr/local/bin:/home/bg/bin:/home/bg/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin
groff -Tlatin1 -mtty-char
####
Comment:
Added code to get the version of the nroff and the groff.
It was at first the version from Debian in /usr/bin/.
After changes, nroff was the latest in my build directory.
I do not install the software after each compilation.
My locale:
LANG=is_IS.iso88591
LANGUAGE=
LC_CTYPE="is_IS.iso88591"
LC_NUMERIC="is_IS.iso88591"
LC_TIME="is_IS.iso88591"
LC_COLLATE="is_IS.iso88591"
LC_MONETARY="is_IS.iso88591"
LC_MESSAGES="is_IS.iso88591"
LC_PAPER="is_IS.iso88591"
LC_NAME="is_IS.iso88591"
LC_ADDRESS="is_IS.iso88591"
LC_TELEPHONE="is_IS.iso88591"
LC_MEASUREMENT="is_IS.iso88591"
LC_IDENTIFICATION="is_IS.iso88591"
LC_ALL=
My charmap: ISO-8859-1
The make target "check" is not the same as the GNU standard (Debian
version is out of date) mentions:
'check'
Perform self-tests (if any). The user must build the program
before running the tests, but need not install the program; you
should write the self-tests so that they work when the program is
built but not installed.
There is also a "installcheck" named in the standard,
but it is empty in the Makefile of groff.
Suggestions:
Add the version of the used commands to the output of the tests.
Make "make check" work with the compiled versions in the build
directory.
N.B.
Neither pre- nor post-processors are shown in the output of
"nroff -V ...".
I expect that the same option in nroff and groff mean the same.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58165>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Back to gnu.groff.bug | Previous | Next | Find similar
[bug #58165] test-suite: "nroff -V ..." fails for other devices than "ascii" Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org> - 2020-04-12 22:13 -0400
csiph-web