source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: provide the regression suite for 1.13, too
@ 2017-02-21 17:58 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-02-21 17:58 UTC (permalink / raw)
  To: source

Log Message:
-----------
provide the regression suite for 1.13, too

Tags:
----
VERSION_1_13

Modified Files:
--------------
    mdocml:
        INSTALL
        Makefile
        NEWS

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/Makefile,v
retrieving revision 1.488.2.8
retrieving revision 1.488.2.9
diff -LMakefile -LMakefile -u -p -r1.488.2.8 -r1.488.2.9
--- Makefile
+++ Makefile
@@ -282,6 +282,7 @@ WWW_MANS	 = apropos.1.html \
 		   man.1.html \
 		   mandoc.1.html \
 		   soelim.1.html \
+		   man.cgi.3.html \
 		   mandoc.3.html \
 		   mandoc_escape.3.html \
 		   mandoc_headers.3.html \
@@ -299,7 +300,6 @@ WWW_MANS	 = apropos.1.html \
 		   roff.7.html \
 		   tbl.7.html \
 		   makewhatis.8.html \
-		   man.cgi.3.html \
 		   man.cgi.8.html \
 		   man.h.html \
 		   manconf.h.html \
@@ -437,6 +437,12 @@ uninstall:
 	rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h
 	rmdir $(DESTDIR)$(INCLUDEDIR)
 
+regress: all
+	cd regress && ./regress.pl
+
+regress-clean:
+	cd regress && ./regress.pl . clean
+
 Makefile.local config.h: configure $(TESTSRCS)
 	@echo "$@ is out of date; please run ./configure"
 	@exit 1
@@ -477,14 +483,40 @@ depend: config.h
 		Makefile.depend > Makefile.tmp
 	mv Makefile.tmp Makefile.depend
 
+regress-distclean:
+	@find regress \
+		-name '.#*' -o \
+		-name '*.orig' -o \
+		-name '*.rej' -o \
+		-name '*.core' \
+		-exec rm -i {} \;
+
+regress-distcheck:
+	@find regress ! -type d ! -type f
+	@find regress -type f \
+		! -path '*/CVS/*' \
+		! -name Makefile \
+		! -name Makefile.inc \
+		! -name '*.in' \
+		! -name '*.out_ascii' \
+		! -name '*.out_utf8' \
+		! -name '*.out_html' \
+		! -name '*.out_lint' \
+		! -path regress/regress.pl \
+		! -path regress/regress.pl.1
+
 dist: mdocml.sha256
 
 mdocml.sha256: mdocml.tar.gz
 	sha256 mdocml.tar.gz > $@
 
 mdocml.tar.gz: $(DISTFILES)
+	ls regress/*/*/*.mandoc_* && exit 1 || true
 	mkdir -p .dist/mdocml-$(VERSION)/
 	$(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION)
+	cp -pR regress .dist/mdocml-$(VERSION)
+	find .dist/mdocml-$(VERSION)/regress \
+	    -type d -name CVS -print0 | xargs -0 rm -rf
 	chmod 755 .dist/mdocml-$(VERSION)/configure
 	( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) )
 	rm -rf .dist/
Index: INSTALL
===================================================================
RCS file: /home/cvs/mdocml/mdocml/INSTALL,v
retrieving revision 1.15.2.2
retrieving revision 1.15.2.3
diff -LINSTALL -LINSTALL -u -p -r1.15.2.2 -r1.15.2.3
--- INSTALL
+++ INSTALL
@@ -32,8 +32,8 @@ system, please consult your operating sy
 To install mandoc manually, the following steps are needed:
 
 1. If you want to build the CGI program, man.cgi(8), too,
-run the command "echo BUILD_CGI=1 > configure.local".
-Then run "cp cgi.h.examples cgi.h" and edit cgi.h as desired.
+run the command "echo BUILD_CGI=1 >> configure.local".
+Then run "cp cgi.h.example cgi.h" and edit cgi.h as desired.
 
 2. Run "./configure".
 This script attempts autoconfiguration of mandoc for your system.
@@ -54,24 +54,29 @@ and go back to step 2.
 installed to the intended places.  Otherwise, put some *DIR or *NM*
 variables into "configure.local" and go back to step 2.
 
-5. Run "sudo make install".  If you intend to build a binary
+5. Optionally run the regression suite.
+Basically, that amounts to "cd regress && ./regress.pl".
+But you should probably look at "./mandoc -l regress/regress.pl.1"
+first.
+
+6. Run "sudo make install".  If you intend to build a binary
 package using some kind of fake root mechanism, you may need a
 command like "make DESTDIR=... install".  Read the *-install targets
 in the "Makefile" to understand how DESTDIR is used.
 
-6. If you want to use the integrated man(1) and your system uses
+7. If you want to use the integrated man(1) and your system uses
 manpath(1), make sure it is configured correctly, in particular,
 it returns all directory trees where manual pages are installed.
 Otherwise, if your system uses man.conf(5), make sure it contains
 a "manpath" line for each directory tree, and the order of these
 lines meets your wishes.
 
-7. Run the command "sudo makewhatis" to build mandoc.db(5) databases
+8. Run the command "sudo makewhatis" to build mandoc.db(5) databases
 in all the directory trees configured in step 6.  Whenever installing
 new manual pages, re-run makewhatis(8) to update the databases, or
 apropos(1) will not find the new pages.
 
-8. To set up a man.cgi(8) server, read its manual page.
+9. To set up a man.cgi(8) server, read its manual page.
 
 Note that some man(7) pages may contain low-level roff(7) markup
 that mandoc does not yet understand.  On some BSD systems using
Index: NEWS
===================================================================
RCS file: /home/cvs/mdocml/mdocml/NEWS,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -LNEWS -LNEWS -u -p -r1.12.2.1 -r1.12.2.2
--- NEWS
+++ NEWS
@@ -4,7 +4,7 @@ This file lists the most important chang
 
 Changes in version 1.13.5, released on February 21, 2017
 
-   --- MAJOR NEW FEATURES ---
+    --- MAJOR NEW FEATURES ---
  * man(1): Support more than one tag entry for the same search term,
    plus some minor improvements to the less(1) :t support.
  * -Thtml: Use real macro names for CSS classes.
@@ -12,101 +12,101 @@ Changes in version 1.13.5, released on F
  * -Thtml: Produce human readable HTML code by using indentation
    and better line breaks.  Improve various HTML elements,
    and trim several useless ones.
-   --- MINOR NEW FEATURES ---
-* mdoc(7): Warn about invalid punctuation and content below NAME.
-* mdoc(7): Warn about .Xr lacking the second argument (section).
-* mdoc(7): Warn about violations of the rule "new sentence, new line".
-* roff(7): Warn about trailing whitespace at the end of comments.
-* mdoc(7): Improve rendering of double quotes.
-* mdoc(7): Always do text production in the validator, never in the
-  formatters.  Cleaner, simpler, shorter, helps NetBSD apropos(1)
-  and also makes -Ttree output more useful.
-* -Ttree: Show metadata and some additional node flags.
-  New -Onoval output option to show the unvalidated tree.
-   --- RELIABILITY BUGFIXES ---
-* man(1): Make "man -l" work with standard input from a pipe or file,
-  as long as standard output is a terminal.
-* man(7): Fix out of bounds read access if a text node immediately
-  preceded the first .SH header.
-* mdoc(7): Fix out of bounds read access for .Bl without a type
-  but with a width.
-* mdoc(7): Fix out of bounds read access for .Bl -column starting
-  with a tab character instead of a child .It macro.
-* mdoc(7): Fix syntax tree corruption leading to segfaults caused
-  by stray block end macros in nested blocks of mismatching type.
-* man(1): Fix NULL dereference when the first of multiple pages
-  shown was preformatted.
-* mdoc(7): Fix syntax tree corruption leading to NULL dereference
-  caused by partial implicit macros inside .Bl -column table cells.
-* mdoc(7): Fix syntax tree corruption leading to NULL dereference
-  for macro sequences like .Bl .Bl .It Bo .El .It.
-* mdoc(7): Fix syntax tree corruption leading to NULL dereference
-  caused by .Ta following a nested .Bl -column breaking another block.
-* mdoc(7): Fix syntax tree corruption sometimes leading to NULL
-  dereference caused by indirectly broken .Nd or .Nm blocks.
-* mdoc(7) -Thtml: Fix a NULL dereference for .Bl -column with 0 columns.
-* mdoc(7): Fix NULL dereference in some specific cases of a
-  block-end macro calling another block-end macro.
-* mdoc(7): Fix NULL dereference if the only child of the head
-  of the first .Sh was an empty in-line macro.
-* eqn(7): Fix NULL dereference in the terminal formatter
-  for empty matrices and empty square roots.
-* mdoc(7): Fix an assertion failure for a .Bd without a type that
-  breaks another block.
-* mdoc(7): Fix an assertion failure that happened for some .Bl -column
-  lists containing a column width of "-4n", "-3n", or "-2n".
-* mdoc(7): Fix an assertion failure caused by .Bl -column without .It
-  but containing eqn(7) or tbl(7) code.
-* roff(7): Fix an assertion failure caused by \z\[u00FF] with -Tps/-Tpdf.
-* roff(7): Fix an assertion failures caused by whitespace inside \o''
-  (overstrike) sequences.
-* -Thtml: Fix an assertion failure caused by -Oman or -Oincludes of
-  excessive length.
-   --- PORTABILITY IMPROVEMENTS ---
-* man(1): Do not mix stdio narrow and wide stream orientation
-  on stdout, which could cause output corruption on glibc.
-* mandoc(1): Autodetect a suitable locale for -Tutf8 mode.
-* ./configure: Autodetect whether PATH_MAX is defined.
-* ./configure: Autodetect if nanosleep(3) needs -lrt.
-* ./configure: Provide an ${LN} configuration variable.
-* ./configure: Put compiler arguments that may contain -l at the end.
-   --- MINOR BUGFIXES ---
-* mdoc(7): Fix SYNOPSIS output if the first child of .Nm is a macro.
-* mdoc(7) -Thtml: Improve formatting of .Bl -tag with short tags.
-* man(7) -Thtml: Preserve whitespace in .nf (nofill) mode.
-* mandoc(1): Error out on invalid output options on the command line.
-   --- STRUCTURAL CHANGES, no functional change ---
-* Redesign part of the mandoc_html(3) interfaces, making them much
-  easier to use and reducing the amount of code by a few hundred lines.
-   --- THANKS TO ---
-* Theo Buehler (OpenBSD) for almost twenty important bug reports,
-  most of them found by systematic afl(1) fuzzing.
-* Benny Lofgren, David Dahlberg, and in particular Vadim Zhukov
-  for crucial help in getting .Bl -tag CSS formatting fixed.
-* Svyatoslav Mishyn (Crux Linux) for an initial version of the
-  patch to autodetect a suitable locale for -Tutf8 mode
-  and for release testing.
-* Michael Stapelberg (Debian) for a number of patches and bug reports.
-* Jason McIntyre (OpenBSD) for multiple useful discussions
-  and a number of bug reports.
-* Sevan Janiyan (NetBSD) for extensive release testing and multiple
-  bug reports.
-* Thomas Klausner and Christos Zoulas (NetBSD), Yuri Pankov (illumos),
-  and Leah Neukirchen (Void Linux) for release testing and bug reports.
-* Ulrich Spoerlein (FreeBSD) for release testing.
-* Alexander Bluhm, Andrew Fresh, Antoine Jacoutot, Antony Bentley,
-  Christian Weisgerber, Jonathan Gray, Marc Espie, Martijn van Duren,
-  Stuart Henderson, Ted Unangst, Theo de Raadt (OpenBSD), Abhinav
-  Upadhyay, Kamil Rytarowski (NetBSD), Aaron M. Ucko, Bdale Garbee,
-  Reiner Herrmann, Shane Kerr (Debian), Daniel Sabogal (Alpine Linux),
-  Carsten Kunze (Heirloom roff), Kristaps Dzonsons (bsd.lv),
-  Anton Lindqvist, Jan Stary, Jeremy A. Mates, Mark Patruck,
-  Pavan Maddamsetti, Sean Levy <attila@stalphonsos.com>, and
-  Tiago Silva for bug reports.
-* Brent Cook, Marc Espie, Philip Guenther, Todd Miller (OpenBSD)
-  and Markus Waldeck for useful discussions.
-* And as usual, OpenCSW for providing me with a Solaris 9/10/11
-  testing environment.
+    --- MINOR NEW FEATURES ---
+ * mdoc(7): Warn about invalid punctuation and content below NAME.
+ * mdoc(7): Warn about .Xr lacking the second argument (section).
+ * mdoc(7): Warn about violations of the rule "new sentence, new line".
+ * roff(7): Warn about trailing whitespace at the end of comments.
+ * mdoc(7): Improve rendering of double quotes.
+ * mdoc(7): Always do text production in the validator, never in the
+   formatters.  Cleaner, simpler, shorter, helps NetBSD apropos(1)
+   and also makes -Ttree output more useful.
+ * -Ttree: Show metadata and some additional node flags.
+   New -Onoval output option to show the unvalidated tree.
+    --- RELIABILITY BUGFIXES ---
+ * man(1): Make "man -l" work with standard input from a pipe or file,
+   as long as standard output is a terminal.
+ * man(7): Fix out of bounds read access if a text node immediately
+   preceded the first .SH header.
+ * mdoc(7): Fix out of bounds read access for .Bl without a type
+   but with a width.
+ * mdoc(7): Fix out of bounds read access for .Bl -column starting
+   with a tab character instead of a child .It macro.
+ * mdoc(7): Fix syntax tree corruption leading to segfaults caused
+   by stray block end macros in nested blocks of mismatching type.
+ * man(1): Fix NULL dereference when the first of multiple pages
+   shown was preformatted.
+ * mdoc(7): Fix syntax tree corruption leading to NULL dereference
+   caused by partial implicit macros inside .Bl -column table cells.
+ * mdoc(7): Fix syntax tree corruption leading to NULL dereference
+   for macro sequences like .Bl .Bl .It Bo .El .It.
+ * mdoc(7): Fix syntax tree corruption leading to NULL dereference
+   caused by .Ta following a nested .Bl -column breaking another block.
+ * mdoc(7): Fix syntax tree corruption sometimes leading to NULL
+   dereference caused by indirectly broken .Nd or .Nm blocks.
+ * mdoc(7) -Thtml: Fix a NULL dereference for .Bl -column with 0 columns.
+ * mdoc(7): Fix NULL dereference in some specific cases of a
+   block-end macro calling another block-end macro.
+ * mdoc(7): Fix NULL dereference if the only child of the head
+   of the first .Sh was an empty in-line macro.
+ * eqn(7): Fix NULL dereference in the terminal formatter
+   for empty matrices and empty square roots.
+ * mdoc(7): Fix an assertion failure for a .Bd without a type that
+   breaks another block.
+ * mdoc(7): Fix an assertion failure that happened for some .Bl -column
+   lists containing a column width of "-4n", "-3n", or "-2n".
+ * mdoc(7): Fix an assertion failure caused by .Bl -column without .It
+   but containing eqn(7) or tbl(7) code.
+ * roff(7): Fix an assertion failure caused by \z\[u00FF] with -Tps/-Tpdf.
+ * roff(7): Fix an assertion failures caused by whitespace inside \o''
+   (overstrike) sequences.
+ * -Thtml: Fix an assertion failure caused by -Oman or -Oincludes of
+   excessive length.
+    --- PORTABILITY IMPROVEMENTS ---
+ * man(1): Do not mix stdio narrow and wide stream orientation
+   on stdout, which could cause output corruption on glibc.
+ * mandoc(1): Autodetect a suitable locale for -Tutf8 mode.
+ * ./configure: Autodetect whether PATH_MAX is defined.
+ * ./configure: Autodetect if nanosleep(3) needs -lrt.
+ * ./configure: Provide an ${LN} configuration variable.
+ * ./configure: Put compiler arguments that may contain -l at the end.
+    --- MINOR BUGFIXES ---
+ * mdoc(7): Fix SYNOPSIS output if the first child of .Nm is a macro.
+ * mdoc(7) -Thtml: Improve formatting of .Bl -tag with short tags.
+ * man(7) -Thtml: Preserve whitespace in .nf (nofill) mode.
+ * mandoc(1): Error out on invalid output options on the command line.
+    --- STRUCTURAL CHANGES, no functional change ---
+ * Redesign part of the mandoc_html(3) interfaces, making them much
+   easier to use and reducing the amount of code by a few hundred lines.
+    --- THANKS TO ---
+ * Theo Buehler (OpenBSD) for almost twenty important bug reports,
+   most of them found by systematic afl(1) fuzzing.
+ * Benny Lofgren, David Dahlberg, and in particular Vadim Zhukov
+   for crucial help in getting .Bl -tag CSS formatting fixed.
+ * Svyatoslav Mishyn (Crux Linux) for an initial version of the
+   patch to autodetect a suitable locale for -Tutf8 mode
+   and for release testing.
+ * Michael Stapelberg (Debian) for a number of patches and bug reports.
+ * Jason McIntyre (OpenBSD) for multiple useful discussions
+   and a number of bug reports.
+ * Sevan Janiyan (NetBSD) for extensive release testing and multiple
+   bug reports.
+ * Thomas Klausner and Christos Zoulas (NetBSD), Yuri Pankov (illumos),
+   and Leah Neukirchen (Void Linux) for release testing and bug reports.
+ * Ulrich Spoerlein (FreeBSD) for release testing.
+ * Alexander Bluhm, Andrew Fresh, Antoine Jacoutot, Antony Bentley,
+   Christian Weisgerber, Jonathan Gray, Marc Espie, Martijn van Duren,
+   Stuart Henderson, Ted Unangst, Theo de Raadt (OpenBSD), Abhinav
+   Upadhyay, Kamil Rytarowski (NetBSD), Aaron M. Ucko, Bdale Garbee,
+   Reiner Herrmann, Shane Kerr (Debian), Daniel Sabogal (Alpine Linux),
+   Carsten Kunze (Heirloom roff), Kristaps Dzonsons (bsd.lv),
+   Anton Lindqvist, Jan Stary, Jeremy A. Mates, Mark Patruck,
+   Pavan Maddamsetti, Sean Levy <attila@stalphonsos.com>, and
+   Tiago Silva for bug reports.
+ * Brent Cook, Marc Espie, Philip Guenther, Todd Miller (OpenBSD)
+   and Markus Waldeck for useful discussions.
+ * And as usual, OpenCSW for providing me with a Solaris 9/10/11
+   testing environment.
 
 Changes in version 1.13.4, released on July 14, 2016
 
@@ -215,7 +215,7 @@ Changes in version 1.13.4, released on J
    again resulting in more than half a dozen important bug reports.
  * Svyatoslav Mishyn (Crux Linux) for some patches, several bug
    reports, and extensive release testing.
- * Christian Neukirchen (void Linux) for a number of compatibility
+ * Leah Neukirchen (void Linux) for a number of compatibility
    patches and suggestions and several bug reports.
  * Christos Zoulas (NetBSD) for a bug fix patch and some useful
    suggestions for cleanup.
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-21 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 17:58 mdocml: provide the regression suite for 1.13, too schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).