From 4c66e609c9ed6de1d1cd21872727e9764bc5d12c Mon Sep 17 00:00:00 2001 From: "C.J. Adams-Collier" Date: Tue, 23 Sep 2014 13:47:09 -0700 Subject: fixed up MANIFEST so that debuild passes ; not running tests unless environment variable is set --- t/Business-OnlinePayment-Exact.t | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 't') 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'); +}; ######################### -- cgit v1.2.1