[xen-tools-dev] [PATCH] Remove done_testing call.

Stéphane Jourdois sjourdois at gmail.com
Sun Jul 11 15:38:54 CEST 2010


done_testing appeared in Test::More 0.87, which is not in perl 5.10,
and therefore not in debian stable.
This makes t/perl-syntax.t pass on debian stable and causes no more
trouble.
---
 t/perl-syntax.t |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/t/perl-syntax.t b/t/perl-syntax.t
index af26164..cef0284 100755
--- a/t/perl-syntax.t
+++ b/t/perl-syntax.t
@@ -11,7 +11,7 @@
 
 use strict;
 use File::Find;
-use Test::More;
+use Test::More qw/ no_plan /;
 
 eval "use Moose";
 plan skip_all => "Moose required for testing Perl syntax"
@@ -24,8 +24,6 @@ plan skip_all => "Moose required for testing Perl syntax"
 #
 find( { wanted => \&checkFile, no_chdir => 1 }, '.' );
 
-done_testing();
-
 #
 #  Check a file.
 #
-- 
1.5.6.5



More information about the xen-tools-dev mailing list