[perl-ExtUtils-Depends] Avoid using Test::More::done_testing() for compatibility



commit 3534677a9e2f0553a5c5eb610f3654244f828ca5
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sat Nov 29 17:25:50 2014 +0100

    Avoid using Test::More::done_testing() for compatibility
    
    To support building out-of-the-box on older perls.

 Changes          |    4 ++++
 Makefile.PL      |    2 +-
 t/02_save_load.t |    6 +-----
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/Changes b/Changes
index 60d6fa9..6badd0a 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension ExtUtils::Depends.
 
+<next>
+    - Avoid using Test::More::done_testing() for to support building
+      out-of-the-box on older perls.
+
 0.402 Sat Oct 18 18:06:19 EEST 2014
     - Set Data::Dumper::Sortkeys = 1 in ExtUtils::Depends->save_config();
       patch submitted by Niko Tyni of the Debian Perl Group; fixes RT#99260
diff --git a/Makefile.PL b/Makefile.PL
index 9e3e608..e8ee529 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -42,7 +42,7 @@ my %meta_merge = (
         },
         build => {
             requires => {
-                'Test::More' => 0.88,
+                'Test::More' => 0,
             },
         },
         test => {
diff --git a/t/02_save_load.t b/t/02_save_load.t
index eaf1f72..83769fd 100644
--- a/t/02_save_load.t
+++ b/t/02_save_load.t
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More tests => 38;
 
 use FindBin;
 use lib "$FindBin::Bin/lib";
@@ -147,7 +147,3 @@ sub test_load {
 }
 test_load (ExtUtils::Depends::load('PSnew'), 'load new scheme');
 test_load (ExtUtils::Depends::load('PSold'), 'load old scheme');
-
-# --------------------------------------------------------------------------- #
-
-done_testing;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]