summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC.J. Adams-Collier <cjac@colliertech.org>2014-09-23 13:47:09 -0700
committerC.J. Adams-Collier <cjac@colliertech.org>2014-09-23 13:47:09 -0700
commit4c66e609c9ed6de1d1cd21872727e9764bc5d12c (patch)
treeb94d6ea6a5de73fca7d3448a52b79800ae85cfd7
parent44bfc546765499ed2ce23d940f0173ba61a19ddc (diff)
fixed up MANIFEST so that debuild passes ; not running tests unless environment variable is set
-rw-r--r--MANIFEST4
-rw-r--r--t/Business-OnlinePayment-Exact.t11
2 files changed, 13 insertions, 2 deletions
diff --git a/MANIFEST b/MANIFEST
index b4e439c..c6b268a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -4,4 +4,6 @@ MANIFEST
README
t/Business-OnlinePayment-Exact.t
lib/Business/OnlinePayment/Exact.pm
-META.yml Module meta-data (added by MakeMaker)
+
+META.yml Module YAML meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by MakeMaker)
diff --git a/t/Business-OnlinePayment-Exact.t b/t/Business-OnlinePayment-Exact.t
index f51520a..6fe16fc 100644
--- a/t/Business-OnlinePayment-Exact.t
+++ b/t/Business-OnlinePayment-Exact.t
@@ -7,7 +7,16 @@
use Test::More;
use Term::ReadLine;
-BEGIN { use_ok('Business::OnlinePayment::Exact') };
+
+BEGIN {
+ unless ( $ENV{RELEASE_TESTING} ) {
+ my $msg = 'Author test. Set $ENV{RELEASE_TESTING} to a true value to run.';
+ plan( skip_all => $msg );
+ done_testing();
+ exit(0);
+ }
+ use_ok('Business::OnlinePayment::Exact');
+};
#########################