summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-08-18 14:28:21 +0000
committerGreg Sabino Mullane2011-08-18 14:28:21 +0000
commiteaa6a0d52da9e8f37041e3e87cc1fe492c7a5378 (patch)
treed69b908ca68e684a0ee31873f34397a4808e0171
parentfb4b9ceff9ebdd20ba67a412ac4107f0c4235a05 (diff)
Don't allow this test unless in RELEASE mode.
-rw-r--r--t/00_test_tester.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/00_test_tester.t b/t/00_test_tester.t
index 20ef2e0d2..7f6f55f5e 100644
--- a/t/00_test_tester.t
+++ b/t/00_test_tester.t
@@ -6,10 +6,16 @@ use 5.006;
use strict;
use warnings;
use Data::Dumper;
-use Test::More tests => 1;
+use Test::More;
use lib 't','.';
use CP_Testing;
+if (!$ENV{RELEASE_TESTING}) {
+ plan (skip_all => 'Test skipped unless environment variable RELEASE_TESTING is set');
+}
+
+plan tests => 1;
+
use vars qw/$dbh $SQL $t $info/;
my $cp = CP_Testing->new();