This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Split t/re/fold_grind.t into multiple test files
authorKarl Williamson <khw@cpan.org>
Mon, 28 Jan 2019 09:28:25 +0000 (02:28 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 29 Jan 2019 20:57:33 +0000 (13:57 -0700)
commit55e8b15f00b722623914897598815cc9f4a7c34f
tree8100ae609ed4f43aaab5cc1cdba4d3d8cf8d3b79
parent33951b79329d4486fe6ad260a4842e69dfa98462
Split t/re/fold_grind.t into multiple test files

This has been a goal for a long time, but I thought it would be a lot of
work, but now have realized that there was a fairly easy simplistic
approach.

The core file is renamed fold_grind.pl.  It formerly had an outer loop
which iterated over the possible character set regex pattern modifiers,
/a, /l, etc that were tested.  Now that loop is just a block and new
wrapper files have been created, one per modifier.  They just pass a
global to the core file that gives which modifier this test file is to
use.  Hence each file corresponds to one iteration of the old outer
loop, splitting the tests up into 6 smaller tests that can run in
parallel.
MANIFEST
t/re/fold_grind.pl [moved from t/re/fold_grind.t with 96% similarity]
t/re/fold_grind_8.t [new file with mode: 0644]
t/re/fold_grind_a.t [new file with mode: 0644]
t/re/fold_grind_aa.t [new file with mode: 0644]
t/re/fold_grind_d.t [new file with mode: 0644]
t/re/fold_grind_l.t [new file with mode: 0644]
t/re/fold_grind_u.t [new file with mode: 0644]