diff options
-rw-r--r-- | ChangeLog | 12 | ||||
-rwxr-xr-x | src/roff/groff/tests/regression_savannah_58153.sh | 2 | ||||
-rw-r--r-- | test-groff.in | 2 |
3 files changed, 14 insertions, 2 deletions
@@ -1,5 +1,17 @@ 2021-04-30 G. Branden Robinson <g.branden.robinson@gmail.com> + * test-groff.in: Stop passing the built groff executable -b and + -ww options by default. This reverses a change from 2017. Dave + Kemper has convincingly argued that there's no way to override + -b and turn backtraces on warnings/errors back off, and that the + built groff should behave as much like a "normal" one as + possible. The latter factor is of added importance now that we + are using test-groff for generation of documents. + + * src/roff/groff/tests/regression_savannah_58153.sh: Adapt. + +2021-04-30 G. Branden Robinson <g.branden.robinson@gmail.com> + * tmac/s.tmac (BX): Add alternative implementation for terminal {nroff} devices. Store width of boxed text, adding .4m only on troff devices (to make room for the vertical box lines). Break diff --git a/src/roff/groff/tests/regression_savannah_58153.sh b/src/roff/groff/tests/regression_savannah_58153.sh index 2db021310..5ad92c470 100755 --- a/src/roff/groff/tests/regression_savannah_58153.sh +++ b/src/roff/groff/tests/regression_savannah_58153.sh @@ -22,7 +22,7 @@ groff="${abs_top_builddir:-.}/test-groff" # Ensure that we get backtrace output across file and pipe boundaries. # Savannah #58153. -OUT=$("$groff" -U 2>&1 >/dev/null <<EOF +OUT=$("$groff" -b -ww -U 2>&1 >/dev/null <<EOF .pso printf '\\\s[-20]\\\n' EOF ) diff --git a/test-groff.in b/test-groff.in index f92e2ab4d..37999b9b3 100644 --- a/test-groff.in +++ b/test-groff.in @@ -49,4 +49,4 @@ $SEP$builddir/contrib/rfc1345\ export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH -exec $builddir/groff -b -ww ${1+"$@"} +exec $builddir/groff ${1+"$@"} |