This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add t/porting/perlfunc.t so that porting tests catch problems with perlfunc
authorNicholas Clark <nick@ccl4.org>
Mon, 30 Jan 2012 13:47:13 +0000 (14:47 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 18 Feb 2012 12:16:52 +0000 (13:16 +0100)
commit4094982d4b552a75a521bdc7df40396d0b57ae4f
treede38de2b06742d0d3a7474902c6da1f6c9a53c5c
parent16538db18cc7422e19490d4a267e9dc8bb6a55e3
Add t/porting/perlfunc.t so that porting tests catch problems with perlfunc

Pod::Functions is now generated from pod/perlfunc.pod by
ext/Pod-Functions/Functions_pm.PL

If it can't parse pod/perlfunc.pod, it will abort, which will cause the
build to break. It's really not possible for it to carry on, hence aborting
is the only option. However, innocent-seeming changes to documentation
shouldn't break the build, and we expect everyone to run (at least)
the porting tests, hence this test, to catch such problems before it's too
late. To avoid duplicating the parsing logic, we make Functions_pm.PL take
a --tap option, to test that all is well.
MANIFEST
ext/Pod-Functions/Functions_pm.PL
pod/perldelta.pod
t/porting/perlfunc.t [new file with mode: 0644]