From 44f494d6fa9844ba129263e04d983b196e235bb2 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 14 Jun 2010 13:18:47 +0200 Subject: don't test unless we are in release mode --- t/01_basic.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 't/01_basic.t') diff --git a/t/01_basic.t b/t/01_basic.t index f3f3dda..a17f425 100644 --- a/t/01_basic.t +++ b/t/01_basic.t @@ -4,7 +4,12 @@ use Test::More; use Net::Riak; use YAML::Syck; - +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} my $host = 'http://localhost:8098'; my $bucket_name = 'test4'; -- cgit v1.2.3