[Bps-public-commit] SD branch, master, updated. 3cc8437f1890481f7618c4655634ed45f9da4e08

sartak at bestpractical.com sartak at bestpractical.com
Fri Jun 19 00:26:12 EDT 2009


The branch, master has been updated
       via  3cc8437f1890481f7618c4655634ed45f9da4e08 (commit)
       via  ea8458fd1163fd0dd8f39011c27c95dcceeafc84 (commit)
      from  ac31ba362732855f82e87e1dc30e07461a990256 (commit)

Summary of changes:
 t/sd-gcode/basic.t  |    6 ++++++
 t/sd-github/basic.t |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit ea8458fd1163fd0dd8f39011c27c95dcceeafc84
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri Jun 19 00:25:47 2009 -0400

    Skip gcode tests if Net::Google::Code is absent

diff --git a/t/sd-gcode/basic.t b/t/sd-gcode/basic.t
index 3d62073..49ce55d 100644
--- a/t/sd-gcode/basic.t
+++ b/t/sd-gcode/basic.t
@@ -3,6 +3,12 @@
 use strict;
 use warnings;
 use Prophet::Test;
+
+BEGIN {
+    plan skip_all => "Tests require Net::Google::Code"
+        unless eval { require Net::Google::Code; 1 };
+}
+
 plan tests => 10;
 use App::SD::Test;
 

commit 3cc8437f1890481f7618c4655634ed45f9da4e08
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri Jun 19 00:25:59 2009 -0400

    Skip github sync tests if Net::GitHub is old

diff --git a/t/sd-github/basic.t b/t/sd-github/basic.t
index a86ca32..37dfada 100644
--- a/t/sd-github/basic.t
+++ b/t/sd-github/basic.t
@@ -3,6 +3,12 @@
 use strict;
 use warnings;
 use Prophet::Test;
+
+BEGIN {
+    plan skip_all => "Tests require Net::GitHub 0.18"
+        unless eval { require Net::GitHub; Net::GitHub->VERSION(0.18); 1 };
+}
+
 plan tests => 8;
 use App::SD::Test;
 

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



More information about the Bps-public-commit mailing list