In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/2f58fd735e91ad2cc0f1cb43a17451fea41d9d57?hp=dc0a6b7d5714e3633ce46346a1b3b56a69b9d164>

- Log -----------------------------------------------------------------
commit 2f58fd735e91ad2cc0f1cb43a17451fea41d9d57
Author: Karl Williamson <k...@cpan.org>
Date:   Fri Dec 7 10:42:21 2018 -0700

    t/harness: Catch incorrect serial directory specification
    
    The previous commit fixed a bug.  This commit detects if someone creates
    a new instance of that bug.

commit 8867b097a2809652c791ef06b770a8880393c901
Author: Karl Williamson <k...@cpan.org>
Date:   Fri Dec 7 10:32:35 2018 -0700

    t/harness: Actually run IO::Zlib tests sequentially
    
    Commit bc55cddf915d70f806feda38506788f4c61a2574 tried to do this, but it
    turns out it didn't actually, because it didn't precisely name the
    directory.

-----------------------------------------------------------------------

Summary of changes:
 t/harness | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/harness b/t/harness
index 84e3d57bbb..caa2a318b8 100644
--- a/t/harness
+++ b/t/harness
@@ -189,10 +189,16 @@ if (@ARGV) {
         # directory containing such files should be tested in serial order.
         #
         # Add exceptions to the above rule
-        for (qw(ext/Pod-Html/t cpan/IO-Zlib)) {
+        for (qw(ext/Pod-Html/t cpan/IO-Zlib/t)) {
             $serials{$_} = 1;
         }
 
+        my @nonexistent_serials = grep { not exists $all_dirs{$_} } keys 
%serials;
+        if (@nonexistent_serials) {
+            die "These directories to be run serially are incorrectly"
+              . " specified:\n" . join "\n", @nonexistent_serials;
+        }
+
         # Remove the serial testing directories from the list of all
         # directories.  The remaining ones are testable in parallel.  Make the
         # parallel list a scalar with names separated by '|' so that below

-- 
Perl5 Master Repository

Reply via email to