[Bps-public-commit] r9097 - in SVN-Hook: . t

clkao at bestpractical.com clkao at bestpractical.com
Wed Sep 19 18:18:44 EDT 2007


Author: clkao
Date: Wed Sep 19 18:18:44 2007
New Revision: 9097

Modified:
   SVN-Hook/CHANGES
   SVN-Hook/META.yml
   SVN-Hook/lib/SVN/Hook.pm
   SVN-Hook/t/01basic.t
   SVN-Hook/t/02partial.t

Log:
SVN::Hook 0.28.

Modified: SVN-Hook/CHANGES
==============================================================================
--- SVN-Hook/CHANGES	(original)
+++ SVN-Hook/CHANGES	Wed Sep 19 18:18:44 2007
@@ -1,3 +1,7 @@
+[Changes for 0.27 - 20 Sep, 2007]
+
+* Skip tests properly when there's no SVK::Test.
+
 [Changes for 0.27 - 15 Sep, 2007]
 
 * Fix redispatch from hook script file itself.

Modified: SVN-Hook/META.yml
==============================================================================
--- SVN-Hook/META.yml	(original)
+++ SVN-Hook/META.yml	Wed Sep 19 18:18:44 2007
@@ -13,4 +13,4 @@
 requires: 
   Class::Accessor::Fast: 0
   Path::Class: 0
-version: 0.27
+version: 0.28

Modified: SVN-Hook/lib/SVN/Hook.pm
==============================================================================
--- SVN-Hook/lib/SVN/Hook.pm	(original)
+++ SVN-Hook/lib/SVN/Hook.pm	Wed Sep 19 18:18:44 2007
@@ -1,7 +1,7 @@
 package SVN::Hook;
 use strict;
 use warnings;
-our $VERSION = '0.27';
+our $VERSION = '0.28';
 
 =head1 NAME
 

Modified: SVN-Hook/t/01basic.t
==============================================================================
--- SVN-Hook/t/01basic.t	(original)
+++ SVN-Hook/t/01basic.t	Wed Sep 19 18:18:44 2007
@@ -1,9 +1,9 @@
 #!/usr/bin/perl -w
 
-use Test::More; 
-eval { use SVK::Test; 1 }
+use Test::More;
+eval { require SVK::Test; 1 }
     or plan skip_all => 'requires SVK for testing.';
-
+SVK::Test->import;
 use SVK::Util 'can_run';
 $ENV{SVNLOOK} ||= can_run('svnlook')
     or plan skip_all => 'requires svnlook testing.';

Modified: SVN-Hook/t/02partial.t
==============================================================================
--- SVN-Hook/t/02partial.t	(original)
+++ SVN-Hook/t/02partial.t	Wed Sep 19 18:18:44 2007
@@ -1,8 +1,9 @@
 #!/usr/bin/perl -w
 
-use Test::More; 
-eval { use SVK::Test; 1 }
+use Test::More;
+eval { require SVK::Test; 1 }
     or plan skip_all => 'requires SVK for testing.';
+SVK::Test->import;
 use SVK::Util 'can_run';
 $ENV{SVNLOOK} ||= can_run('svnlook')
     or plan skip_all => 'requires svnlook testing.';



More information about the Bps-public-commit mailing list