Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 8433f82996ead276b305b5c8e4314d9295e08bbe
https://github.com/Perl/perl5/commit/8433f82996ead276b305b5c8e4314d9295e08bbe
Author: James E Keenan <[email protected]>
Date: 2021-06-28 (Mon, 28 Jun 2021)
Changed paths:
M MANIFEST
A ext/Pod-Html/corpus/perlpodspec-copy.pod
A ext/Pod-Html/corpus/perlvar-copy.pod
M ext/Pod-Html/t/cache.t
M ext/Pod-Html/t/crossref.t
M ext/Pod-Html/t/crossref2.t
M ext/Pod-Html/t/crossref3.t
M ext/Pod-Html/t/feature.t
M ext/Pod-Html/t/feature2.t
M ext/Pod-Html/t/htmldir1.t
M ext/Pod-Html/t/htmldir2.t
M ext/Pod-Html/t/htmldir3.t
M ext/Pod-Html/t/htmldir4.t
M ext/Pod-Html/t/htmldir5.t
M ext/Pod-Html/t/htmlescp.t
M ext/Pod-Html/t/htmllink.t
M ext/Pod-Html/t/htmlview.t
A ext/Pod-Html/t/lib/Testing.pm
R ext/Pod-Html/t/pod2html-lib.pl
M ext/Pod-Html/t/poderr.t
M ext/Pod-Html/t/podnoerr.t
R ext/Pod-Html/testdir/perlpodspec-copy.pod
R ext/Pod-Html/testdir/perlvar-copy.pod
M t/harness
M t/porting/known_pod_issues.dat
Log Message:
-----------
ext/Pod-Html/t/*.t: Have each file run in tempdir
Until now, the tests for this library ran inside the ext/Pod-Html
directory in the core distribution. Since the tests necessarily create
files while the harness runs, there was a possibility for race
conditions, which meant that we had to have a workaround in t/harness to
have the tests in this directory not run in parallel.
This commit restructures the testing process so that each test program
gets its own tempdir in which to create files and directories.
The test architecture is now found in t/lib/Testing.pm.
This module will export two functions on demand that are used in the
individual test files. They guarantee that all files created when
running a test program will be created in a temporary directory rather
than underneath the core distribution.
t/pod2html-lib.pl is now superseded by t/lib/Testing.pm and can be
removed. The workaround has been removed from t/harness.
Change directory name from testdir/ to corpus/. So as to more precisely
describe what the directory's purpose is.
Keep porting tests happy. Update MANIFEST and known_pod_issues database.
Acknowledge Craig Berry's recommendation in earlier branch
This should help in the resolution of
https://github.com/Perl/perl5/issues/12271.
Correct typo spotted by rjbs.
Commit: ddf86ab3dc887706544973328ece2259cc4f90bd
https://github.com/Perl/perl5/commit/ddf86ab3dc887706544973328ece2259cc4f90bd
Author: James E Keenan <[email protected]>
Date: 2021-06-28 (Mon, 28 Jun 2021)
Changed paths:
M MANIFEST
A ext/Pod-Html/corpus/perlpodspec-copy.pod
A ext/Pod-Html/corpus/perlvar-copy.pod
M ext/Pod-Html/t/cache.t
M ext/Pod-Html/t/crossref.t
M ext/Pod-Html/t/crossref2.t
M ext/Pod-Html/t/crossref3.t
M ext/Pod-Html/t/feature.t
M ext/Pod-Html/t/feature2.t
M ext/Pod-Html/t/htmldir1.t
M ext/Pod-Html/t/htmldir2.t
M ext/Pod-Html/t/htmldir3.t
M ext/Pod-Html/t/htmldir4.t
M ext/Pod-Html/t/htmldir5.t
M ext/Pod-Html/t/htmlescp.t
M ext/Pod-Html/t/htmllink.t
M ext/Pod-Html/t/htmlview.t
A ext/Pod-Html/t/lib/Testing.pm
R ext/Pod-Html/t/pod2html-lib.pl
M ext/Pod-Html/t/poderr.t
M ext/Pod-Html/t/podnoerr.t
R ext/Pod-Html/testdir/perlpodspec-copy.pod
R ext/Pod-Html/testdir/perlvar-copy.pod
M t/harness
M t/porting/known_pod_issues.dat
Log Message:
-----------
Merge branch 'pod2html-single-tempdir-20210510' into blead
Compare: https://github.com/Perl/perl5/compare/fc0b7d587a8d...ddf86ab3dc88