diff options
author | Greg Sabino Mullane | 2011-08-18 14:28:21 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-08-18 14:28:21 +0000 |
commit | eaa6a0d52da9e8f37041e3e87cc1fe492c7a5378 (patch) | |
tree | d69b908ca68e684a0ee31873f34397a4808e0171 | |
parent | fb4b9ceff9ebdd20ba67a412ac4107f0c4235a05 (diff) |
Don't allow this test unless in RELEASE mode.
-rw-r--r-- | t/00_test_tester.t | 8 |
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(); |