[Bps-public-commit] SD branch, master, updated. 7946fb4af3fa2dd230108c66c595a66663d34c9b

jesse jesse at bestpractical.com
Mon Jul 13 14:02:21 EDT 2009


The branch, master has been updated
       via  7946fb4af3fa2dd230108c66c595a66663d34c9b (commit)
       via  4a7bb005ce6e0cd50737a8893cab492f62f52dac (commit)
       via  bf250814eb24b08b887ea20280c6b107d9610643 (commit)
      from  7a993df98b40970525e83ec8f7965fcb7ccbfa6b (commit)

Summary of changes:
 t/sd-redmine/basic.t |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit bf250814eb24b08b887ea20280c6b107d9610643
Author: Kang-min Liu <gugod at gugod.org>
Date:   Wed Jun 24 18:45:02 2009 +0800

    requires 5.010 for redmine support. skip these tests if not.

diff --git a/t/sd-redmine/basic.t b/t/sd-redmine/basic.t
index 6e7f00b..cc53f7f 100644
--- a/t/sd-redmine/basic.t
+++ b/t/sd-redmine/basic.t
@@ -4,6 +4,10 @@ use strict;
 use Prophet::Test;
 use App::SD::Test;
 
+unless ( $] >= 5.010 ) {
+    plan skip_all => 'You need at least Perl 5.010 to enable redmine support';
+}
+
 require File::Temp;
 $ENV{'PROPHET_REPO'} = $ENV{'SD_REPO'} = File::Temp::tempdir( CLEANUP => 1 ) . '/_svb';
 diag "export SD_REPO=" . $ENV{'PROPHET_REPO'} . "\n";
@@ -58,4 +62,3 @@ sub count_tickets_in_sd {
     my @lines = split(/\n/,$out);
     return scalar @lines;
 }
-
diff --git a/t/sd-redmine/clone.t b/t/sd-redmine/clone.t
index c4db5e6..b555c00 100644
--- a/t/sd-redmine/clone.t
+++ b/t/sd-redmine/clone.t
@@ -4,6 +4,10 @@ use warnings;
 use Prophet::Test;
 use App::SD::Test;
 
+unless ( $] >= 5.01 ) {
+    plan skip_all => 'You need at least Perl 5.010 to enable redmine support';
+}
+
 unless ( eval { require Net::Redmine } ) {
     plan skip_all => 'You need Net::Redmine installed to run the tests';
 }

commit 4a7bb005ce6e0cd50737a8893cab492f62f52dac
Merge: bf25081... bc56d69...
Author: Kang-min Liu <gugod at gugod.org>
Date:   Thu Jul 9 20:27:03 2009 +0800

    Merge branch 'master' of git://github.com/bestpractical/sd
    
    Conflicts:
    	t/sd-redmine/clone.t


commit 7946fb4af3fa2dd230108c66c595a66663d34c9b
Merge: 7a993df... 4a7bb00...
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Jul 13 14:02:05 2009 -0400

    Merge branch 'master' of git://github.com/gugod/sd
    
    * 'master' of git://github.com/gugod/sd:
      requires 5.010 for redmine support. skip these tests if not.


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



More information about the Bps-public-commit mailing list